5
This is an example configuration file for FOP.
6
This file contains the same settings as the default values
7
and will have no effect if used unchanged.
9
Relative config url's will be resolved relative to
10
the location of this file.
14
<!-- NOTE: This is the version of the configuration -->
17
<!-- Base URL for resolving relative URLs -->
20
<!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi -->
21
<source-resolution>72</source-resolution>
22
<!-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi -->
23
<target-resolution>72</target-resolution>
25
<!-- Default page-height and page-width, in case
26
value is specified as auto -->
27
<default-page-settings height="11in" width="8.26in"/>
29
<!-- Information for specific renderers -->
30
<!-- Uses renderer mime type for renderers -->
32
<renderer mime="application/pdf">
34
<!-- provides compression using zlib flate (default is on) -->
37
<!-- encodes binary data into printable ascii characters (default off)
38
This provides about a 4:5 expansion of data size -->
39
<!-- <value>ascii-85</value> -->
41
<!-- encodes binary data with hex representation (default off)
42
This filter is not recommended as it doubles the data size -->
43
<!-- <value>ascii-hex</value> -->
47
<!-- embedded fonts -->
49
This information must exactly match the font specified
50
in the fo file. Otherwise it will use a default font.
53
<fo:inline font-family="Arial" font-weight="bold" font-style="normal">
54
Arial-normal-normal font
56
for the font triplet specified by:
57
<font-triplet name="Arial" style="normal" weight="bold"/>
59
If you do not want to embed the font in the pdf document
60
then do not include the "embed-url" attribute.
61
The font will be needed where the document is viewed
62
for it to be displayed properly.
64
possible styles: normal | italic | oblique | backslant
65
possible weights: normal | bold | 100 | 200 | 300 | 400
66
| 500 | 600 | 700 | 800 | 900
67
(normal = 400, bold = 700)
71
<font metrics-url="arial.xml" kerning="yes" embed-url="arial.ttf">
72
<font-triplet name="Arial" style="normal" weight="normal"/>
73
<font-triplet name="ArialMT" style="normal" weight="normal"/>
76
<font metrics-url="../libs/pdf/fonts/DejaVuSerif.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf">
77
<font-triplet name="dejavuserif" style="normal" weight="normal"/>
79
<font metrics-url="../libs/pdf/fonts/DejaVuSerif-Bold.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf">
80
<font-triplet name="dejavuserif" style="normal" weight="bold"/>
82
<font metrics-url="../libs/pdf/fonts/DejaVuSerif-BoldOblique.xml" kerning="yes" embed-url="/usr/share/fonts/ttf-dejavu/DejaVuSerif-BoldOblique.ttf">
83
<font-triplet name="dejavuserif" style="italic" weight="bold"/>
85
<font metrics-url="../libs/pdf/fonts/DejaVuSerif-Oblique.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Oblique.ttf">
86
<font-triplet name="dejavuserif" style="italic" weight="bold"/>
89
<font metrics-url="../libs/pdf/fonts/FreeMono-ttf.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeMono.ttf">
90
<font-triplet name="monospace" style="normal" weight="normal"/>
92
<font metrics-url="../libs/pdf/fonts/FreeMonoBold-ttf.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeMonoBold.ttf">
93
<font-triplet name="monospace" style="normal" weight="bold"/>
95
<font metrics-url="../libs/pdf/fonts/FreeMonoOblique-ttf.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeMonoOblique.ttf">
96
<font-triplet name="monospace" style="italic" weight="normal"/>
98
<font metrics-url="../libs/pdf/fonts/FreeMonoBoldOblique-ttf.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf">
99
<font-triplet name="monospace" style="italic" weight="bold"/>
102
<font metrics-url="../libs/pdf/fonts/FreeSerif.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeSerif.ttf">
103
<font-triplet name="serif" style="normal" weight="normal"/>
105
<font metrics-url="../libs/pdf/fonts/FreeSerif-Bold.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf">
106
<font-triplet name="serif" style="normal" weight="bold"/>
108
<font metrics-url="../libs/pdf/fonts/FreeSerif-BoldItalic.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf">
109
<font-triplet name="serif" style="italic" weight="bold"/>
111
<font metrics-url="../libs/pdf/fonts/FreeSerif-Italic.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf">
112
<font-triplet name="serif" style="italic" weight="normal"/>
115
<font metrics-url="../libs/pdf/fonts/uming.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/arphic/uming.ttf">
116
<font-triplet name="uming" style="normal" weight="normal"/>
117
<font-triplet name="uming" style="italic" weight="normal"/>
118
<font-triplet name="uming" style="normal" weight="bold"/>
119
<font-triplet name="uming" style="italic" weight="normal"/></font>
121
<font metrics-url="../libs/pdf/fonts/kochi-gothic.xml" embed-url="/usr/share/fonts/truetype/kochi/kochi-gothic.ttf" kerning="yes">
122
<font-triplet name="Kochi" style="normal" weight="normal"/>
123
<font-triplet name="Kochi" style="italic" weight="normal"/>
124
<font-triplet name="Kochi" style="normal" weight="bold"/>
125
<font-triplet name="Kochi" style="italic" weight="bold"/>
128
<font metrics-url="../libs/pdf/fonts/UnDotum.xml" embed-url="/usr/share/fonts/truetype/unfonts/UnDotum.ttf" kerning="yes">
129
<font-triplet name="dotum" style="normal" weight="normal"/>
130
<font-triplet name="dotum" style="italic" weight="normal"/>
133
<font metrics-url="../libs/pdf/fonts/UnDotumBold.xml" embed-url="/usr/share/fonts/truetype/unfonts/UnDotumBold.ttf" kerning="yes">
134
<font-triplet name="dotum" style="normal" weight="bold"/>
135
<font-triplet name="dotum" style="italic" weight="bold"/>
138
<font metrics-url="../libs/pdf/fonts/UnBatang.xml" embed-url="/usr/share/fonts/truetype/unfonts/UnBatang.ttf" kerning="yes">
139
<font-triplet name="batang" style="normal" weight="normal"/>
140
<font-triplet name="batang" style="italic" weight="normal"/>
143
<font metrics-url="../libs/pdf/fonts/UnBatangBold.xml" embed-url="/usr/share/fonts/truetype/unfonts/UnBatangBold.ttf" kerning="yes">
144
<font-triplet name="batang" style="normal" weight="bold"/>
145
<font-triplet name="batang" style="italic" weight="bold"/>
148
<font metrics-url="../libs/pdf/fonts/OpenSymbol.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/openoffice/opens___.ttf">
149
<font-triplet name="Symbol" style="normal" weight="normal"/>
153
<font metrics-url="arialb.xml" kerning="yes" embed-url="arialb.ttf">
154
<font-triplet name="Arial" style="normal" weight="bold"/>
155
<font-triplet name="ArialMT" style="normal" weight="bold"/>
160
<!-- This option lets you specify additional options on an XML handler -->
161
<!--xml-handler namespace="http://www.w3.org/2000/svg">
162
<stroke-text>false</stroke-text>
167
<renderer mime="application/postscript">
168
<!-- This option forces the PS renderer to rotate landscape pages -->
169
<!--auto-rotate-landscape>true</auto-rotate-landscape-->
171
<!-- This option lets you specify additional options on an XML handler -->
172
<!--xml-handler namespace="http://www.w3.org/2000/svg">
173
<stroke-text>false</stroke-text>
177
<renderer mime="application/vnd.hp-PCL">
180
<!-- MIF does not have a renderer
181
<renderer mime="application/vnd.mif">
185
<renderer mime="image/svg+xml">
186
<format type="paginated"/>
188
<strokeText value="false"/>
191
<renderer mime="application/awt">
194
<renderer mime="text/xml">
197
<!-- RTF does not have a renderer
198
<renderer mime="text/rtf">
202
<renderer mime="text/plain">
203
<pageSize columns="80"/>