| 1 |
<!--<!DOCTYPE configuration SYSTEM "config.dtd">--> |
| 2 |
<!-- |
| 3 |
this file contains templates which allow an user easy |
| 4 |
configuration of Fop. Actually normally you don't need this configuration |
| 5 |
file, but if you need to change configuration, you should |
| 6 |
always use this file and *not* config.xml. |
| 7 |
Usage: |
| 8 |
java org.apache.fop.apps.Fop -c userconfig.xml -fo fo-file -pdf pdf-file |
| 9 |
|
| 10 |
See also: |
| 11 |
http://xmlgraphics.apache.org/fop/1.0/configuration.html |
| 12 |
--> |
| 13 |
|
| 14 |
<fop version="1.0"> |
| 15 |
<renderers> |
| 16 |
<renderer mime="application/pdf"> |
| 17 |
<fonts> |
| 18 |
<!-- |
| 19 |
register all the fonts found in a directory |
| 20 |
use recursive="true" to also include subdirectories |
| 21 |
--> |
| 22 |
<directory>/usr/share/fonts/truetype/</directory> |
| 23 |
<!-- automatically detect operating system installed fonts --> |
| 24 |
<auto-detect/> |
| 25 |
<!-- |
| 26 |
Register the font Poppins manually, since the font auto-detection doesn't work |
| 27 |
for Poppins. Once it is updated by upstream this following block can be removed. |
| 28 |
https://issues.apache.org/jira/browse/FOP-3045 |
| 29 |
--> |
| 30 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-Regular.ttf" simulate-style="false" embedding-mode="subset"> |
| 31 |
<font-triplet name="Poppins" style="normal" weight="normal" /> |
| 32 |
</font> |
| 33 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-Italic.ttf" simulate-style="false" embedding-mode="subset"> |
| 34 |
<font-triplet name="Poppins" style="italic" weight="normal" /> |
| 35 |
</font> |
| 36 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-Thin.ttf" simulate-style="false" embedding-mode="subset"> |
| 37 |
<font-triplet name="Poppins" style="normal" weight="100" /> |
| 38 |
</font> |
| 39 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-ThinItalic.ttf" simulate-style="false" embedding-mode="subset"> |
| 40 |
<font-triplet name="Poppins" style="italic" weight="100" /> |
| 41 |
</font> |
| 42 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-ExtraLight.ttf" simulate-style="false" embedding-mode="subset"> |
| 43 |
<font-triplet name="Poppins" style="normal" weight="200" /> |
| 44 |
</font> |
| 45 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-ExtraLightItalic.ttf" simulate-style="false" embedding-mode="subset"> |
| 46 |
<font-triplet name="Poppins" style="italic" weight="200" /> |
| 47 |
</font> |
| 48 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-Light.ttf" simulate-style="false" embedding-mode="subset"> |
| 49 |
<font-triplet name="Poppins" style="normal" weight="300" /> |
| 50 |
</font> |
| 51 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-LightItalic.ttf" simulate-style="false" embedding-mode="subset"> |
| 52 |
<font-triplet name="Poppins" style="italic" weight="300" /> |
| 53 |
</font> |
| 54 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-Regular.ttf" simulate-style="false" embedding-mode="subset"> |
| 55 |
<font-triplet name="Poppins" style="normal" weight="400" /> |
| 56 |
</font> |
| 57 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-Italic.ttf" simulate-style="false" embedding-mode="subset"> |
| 58 |
<font-triplet name="Poppins" style="italic" weight="400" /> |
| 59 |
</font> |
| 60 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-Medium.ttf" simulate-style="false" embedding-mode="subset"> |
| 61 |
<font-triplet name="Poppins" style="normal" weight="500" /> |
| 62 |
</font> |
| 63 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-MediumItalic.ttf" simulate-style="false" embedding-mode="subset"> |
| 64 |
<font-triplet name="Poppins" style="italic" weight="500" /> |
| 65 |
</font> |
| 66 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-SemiBold.ttf" simulate-style="false" embedding-mode="subset"> |
| 67 |
<font-triplet name="Poppins" style="normal" weight="600" /> |
| 68 |
</font> |
| 69 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-SemiBoldItalic.ttf" simulate-style="false" embedding-mode="subset"> |
| 70 |
<font-triplet name="Poppins" style="italic" weight="600" /> |
| 71 |
</font> |
| 72 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-Bold.ttf" simulate-style="false" embedding-mode="subset"> |
| 73 |
<font-triplet name="Poppins" style="normal" weight="700" /> |
| 74 |
</font> |
| 75 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-BoldItalic.ttf" simulate-style="false" embedding-mode="subset"> |
| 76 |
<font-triplet name="Poppins" style="italic" weight="700" /> |
| 77 |
</font> |
| 78 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-ExtraBold.ttf" simulate-style="false" embedding-mode="subset"> |
| 79 |
<font-triplet name="Poppins" style="normal" weight="800" /> |
| 80 |
</font> |
| 81 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-ExtraBoldItalic.ttf" simulate-style="false" embedding-mode="subset"> |
| 82 |
<font-triplet name="Poppins" style="italic" weight="800" /> |
| 83 |
</font> |
| 84 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-Black.ttf" simulate-style="false" embedding-mode="subset"> |
| 85 |
<font-triplet name="Poppins" style="normal" weight="900" /> |
| 86 |
</font> |
| 87 |
<font kerning="yes" embed-url="/usr/share/fonts/truetype/Poppins-BlackItalic.ttf" simulate-style="false" embedding-mode="subset"> |
| 88 |
<font-triplet name="Poppins" style="italic" weight="900" /> |
| 89 |
</font> |
| 90 |
<!-- ja, ko --> |
| 91 |
<font kerning="no" embed-url="/usr/share/fonts/truetype/NotoSansCJKjp-Regular.otf" embedding-mode="subset"> |
| 92 |
<font-triplet name="NotoSansJP" style="normal" weight="normal"/> |
| 93 |
</font> |
| 94 |
<font kerning="no" embed-url="/usr/share/fonts/truetype/NotoSansCJKjp-Bold.otf" embedding-mode="subset"> |
| 95 |
<font-triplet name="NotoSansJP" style="normal" weight="700"/> |
| 96 |
</font> |
| 97 |
<!-- ko --> |
| 98 |
<font kerning="no" embed-url="/usr/share/fonts/truetype/NotoSansCJKkr-Regular.otf" embedding-mode="subset"> |
| 99 |
<font-triplet name="NotoSansKO" style="normal" weight="normal"/> |
| 100 |
</font> |
| 101 |
<font kerning="no" embed-url="/usr/share/fonts/truetype/NotoSansCJKkr-Bold.otf" embedding-mode="subset"> |
| 102 |
<font-triplet name="NotoSansKO" style="normal" weight="700"/> |
| 103 |
</font> |
| 104 |
<!-- zh-CN --> |
| 105 |
<font kerning="no" embed-url="/usr/share/fonts/truetype/NotoSansCJKsc-Regular.otf" embedding-mode="subset"> |
| 106 |
<font-triplet name="NotoSansZH_CN" style="normal" weight="normal"/> |
| 107 |
</font> |
| 108 |
<font kerning="no" embed-url="/usr/share/fonts/truetype/NotoSansCJKsc-Bold.otf" embedding-mode="subset"> |
| 109 |
<font-triplet name="NotoSansZH_CN" style="normal" weight="700"/> |
| 110 |
</font> |
| 111 |
<!-- zh-TW --> |
| 112 |
<font kerning="no" embed-url="/usr/share/fonts/truetype/NotoSansCJKtc-Regular.otf" embedding-mode="subset"> |
| 113 |
<font-triplet name="NotoSansZH_TW" style="normal" weight="normal"/> |
| 114 |
</font> |
| 115 |
<font kerning="no" embed-url="/usr/share/fonts/truetype/NotoSansCJKtc-Bold.otf" embedding-mode="subset"> |
| 116 |
<font-triplet name="NotoSansZH_TW" style="normal" weight="700"/> |
| 117 |
</font> |
| 118 |
</fonts> |
| 119 |
</renderer> |
| 120 |
|
| 121 |
</renderers> |
| 122 |
|
| 123 |
</fop> |