Fix FOP config
Fix FOP config to use original Adobe fonts: https://github.com/adobe-fonts/source-serif/releases/download/3.001R/source-serif-pro-3.001R.zip https://github.com/adobe-fonts/source-sans/releases/download/3.006R/source-sans-pro-3.006R.zip
This commit is contained in:
@@ -22,16 +22,36 @@
|
|||||||
<!-- 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"/>
|
||||||
|
</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>
|
</fop>
|
||||||
|
|||||||
Reference in New Issue
Block a user