Adrian-Devries
2024-12-19 16:03:15 +01:00
committed by GitHub
parent 8842bf7d65
commit fdce2c4371

View File

@@ -1,37 +1,57 @@
<fop version="1.0"> <fop version="1.0">
<!-- Strict user configuration --> <!-- Strict user configuration -->
<strict-configuration>true</strict-configuration> <strict-configuration>true</strict-configuration>
<!-- Strict FO validation --> <!-- Strict FO validation -->
<strict-validation>true</strict-validation> <strict-validation>true</strict-validation>
<!-- Base URL for resolving relative URLs --> <!-- Base URL for resolving relative URLs -->
<!-- Font Base URL for resolving relative font URLs --> <!-- Font Base URL for resolving relative font URLs -->
<!-- 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>96</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>96</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 -->
<default-page-settings height="297mm" width="210mm"/><!-- DIN A/4 --> <default-page-settings height="297mm" width="210mm"/><!-- DIN A/4 -->
<!-- etc. etc..... --> <!-- etc. etc..... -->
<renderers> <renderers>
<renderer mime="application/pdf"> <renderer mime="application/pdf">
<fonts><!-- https://xmlgraphics.apache.org/fop/1.1/fonts.html auto-embed --> <fonts>
<auto-detect/> <!-- https://xmlgraphics.apache.org/fop/1.1/fonts.html auto-embed -->
<font kerning="no" embed-url="classpath:FreeSans.ttf" embedding-mode="subset"> <auto-detect/>
<font-triplet name="SourceSerifPro" style="normal" weight="normal" /> <font kerning="yes" embed-url="classpath:fonts/SourceSansPro-Regular.ttf" embedding-mode="subset">
<font-triplet name="Times-Bold" style="normal" weight="normal" /> <font-triplet name="SourceSansPro" style="normal" weight="400"/>
</font> </font>
</fonts> <font kerning="yes" embed-url="classpath:fonts/SourceSansPro-It.ttf" embedding-mode="subset">
<output-profile>classpath:AdobeCompat-v2.icc</output-profile> <font-triplet name="SourceSansPro" style="italic" weight="400"/>
</renderer> </font>
</renderers> <font kerning="yes" embed-url="classpath:fonts/SourceSansPro-Bold.ttf" embedding-mode="subset">
<font-triplet name="SourceSansPro" style="normal" weight="700"/>
</fop> </font>
<font kerning="yes" embed-url="classpath:fonts/SourceSansPro-BoldIt.ttf" embedding-mode="subset">
<font-triplet name="SourceSansPro" style="italic" weight="700"/>
</font>
<font kerning="yes" embed-url="classpath:fonts/SourceSerifPro-Regular.ttf" embedding-mode="subset">
<font-triplet name="SourceSerifPro" style="normal" weight="400"/>
</font>
<font kerning="yes" embed-url="classpath:fonts/SourceSerifPro-It.ttf" embedding-mode="subset">
<font-triplet name="SourceSerifPro" style="italic" weight="400"/>
</font>
<font kerning="yes" embed-url="classpath:fonts/SourceSerifPro-Bold.ttf" embedding-mode="subset">
<font-triplet name="SourceSerifPro" style="normal" weight="700"/>
</font>
<font kerning="yes" embed-url="classpath:fonts/SourceSerifPro-BoldIt.ttf" embedding-mode="subset">
<font-triplet name="SourceSerifPro" style="italic" weight="700"/>
</font>
</fonts>
<output-profile>classpath:AdobeCompat-v2.icc</output-profile>
</renderer>
</renderers>
</fop>