pdf fixes
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
=======
|
=======
|
||||||
|
|
||||||
Improvement of included notes #331
|
Improvement of included notes #331
|
||||||
|
fixes #259 by Heavenfighter
|
||||||
|
java -Ddisable-file-logging -jar ..\..\..\mustangproject\Mustang-CLI\target\Mustang-CLI-2.7.4-SNAPSHOT.jar --action validate --source Storno_A.xml
|
||||||
|
|
||||||
2.7.3
|
2.7.3
|
||||||
=======
|
=======
|
||||||
|
|||||||
@@ -97,6 +97,27 @@
|
|||||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
<manifestSections>
|
||||||
|
<manifestSection>
|
||||||
|
<name>FreeSans.ttf</name>
|
||||||
|
<manifestEntries>
|
||||||
|
<Content-Type>font/ttf</Content-Type>
|
||||||
|
</manifestEntries>
|
||||||
|
</manifestSection>
|
||||||
|
<manifestSection>
|
||||||
|
<name>FreeSerif.ttf</name>
|
||||||
|
<manifestEntries>
|
||||||
|
<Content-Type>application/x-font</Content-Type>
|
||||||
|
</manifestEntries>
|
||||||
|
</manifestSection>
|
||||||
|
<manifestSection>
|
||||||
|
<name>Times-Bold.ttf</name>
|
||||||
|
<manifestEntries>
|
||||||
|
<Content-Type>application/x-font</Content-Type>
|
||||||
|
</manifestEntries>
|
||||||
|
</manifestSection>
|
||||||
|
</manifestSections>
|
||||||
|
|
||||||
</archive>
|
</archive>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.xmlgraphics</groupId>
|
<groupId>org.apache.xmlgraphics</groupId>
|
||||||
<artifactId>fop</artifactId>
|
<artifactId>fop</artifactId>
|
||||||
<version>2.8</version>
|
<version>2.9</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@@ -170,6 +170,31 @@
|
|||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/logback.xml</exclude>
|
<exclude>**/logback.xml</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<addClasspath>true</addClasspath>
|
||||||
|
</manifest>
|
||||||
|
<manifestSections>
|
||||||
|
<manifestSection>
|
||||||
|
<name>FreeSans.ttf</name>
|
||||||
|
<manifestEntries>
|
||||||
|
<Content-Type>font/ttf</Content-Type>
|
||||||
|
</manifestEntries>
|
||||||
|
</manifestSection>
|
||||||
|
<manifestSection>
|
||||||
|
<name>FreeSerif.ttf</name>
|
||||||
|
<manifestEntries>
|
||||||
|
<Content-Type>application/x-font</Content-Type>
|
||||||
|
</manifestEntries>
|
||||||
|
</manifestSection>
|
||||||
|
<manifestSection>
|
||||||
|
<name>Times-Bold.ttf</name>
|
||||||
|
<manifestEntries>
|
||||||
|
<Content-Type>application/x-font</Content-Type>
|
||||||
|
</manifestEntries>
|
||||||
|
</manifestSection>
|
||||||
|
</manifestSections>
|
||||||
|
</archive>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
Binary file not shown.
@@ -7,15 +7,13 @@
|
|||||||
<strict-validation>true</strict-validation>
|
<strict-validation>true</strict-validation>
|
||||||
|
|
||||||
<!-- Base URL for resolving relative URLs -->
|
<!-- Base URL for resolving relative URLs -->
|
||||||
<base>./</base>
|
|
||||||
|
|
||||||
<!-- Font Base URL for resolving relative font URLs -->
|
<!-- Font Base URL for resolving relative font URLs -->
|
||||||
<font-base>./</font-base>
|
|
||||||
|
|
||||||
<!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi -->
|
<!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi -->
|
||||||
<source-resolution>72</source-resolution>
|
<source-resolution>96</source-resolution>
|
||||||
<!-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi -->
|
<!-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi -->
|
||||||
<target-resolution>72</target-resolution>
|
<target-resolution>96</target-resolution>
|
||||||
|
|
||||||
<!-- default page-height and page-width, in case
|
<!-- default page-height and page-width, in case
|
||||||
value is specified as auto -->
|
value is specified as auto -->
|
||||||
@@ -25,11 +23,12 @@
|
|||||||
|
|
||||||
<renderers>
|
<renderers>
|
||||||
<renderer mime="application/pdf">
|
<renderer mime="application/pdf">
|
||||||
<fonts><!-- https://xmlgraphics.apache.org/fop/1.1/fonts.html auto-embed-->
|
<fonts><!-- https://xmlgraphics.apache.org/fop/1.1/fonts.html auto-embed -->
|
||||||
<font kerning="no" embed-url="file:src/main/resources/FreeSans.ttf" embedding-mode="subset">
|
<auto-detect/>
|
||||||
|
<font kerning="no" embed-url="FreeSans.ttf" embedding-mode="subset">
|
||||||
<font-triplet name="SourceSerifPro" style="normal" weight="normal" />
|
<font-triplet name="SourceSerifPro" style="normal" weight="normal" />
|
||||||
|
<font-triplet name="Times-Bold" style="normal" weight="normal" />
|
||||||
</font>
|
</font>
|
||||||
|
|
||||||
</fonts>
|
</fonts>
|
||||||
<output-profile>classpath:AdobeCompat-v2.icc</output-profile>
|
<output-profile>classpath:AdobeCompat-v2.icc</output-profile>
|
||||||
</renderer>
|
</renderer>
|
||||||
|
|||||||
BIN
library/src/main/resources/src/main/FreeSans.ttf
Normal file
BIN
library/src/main/resources/src/main/FreeSans.ttf
Normal file
Binary file not shown.
Reference in New Issue
Block a user