-
Notifications
You must be signed in to change notification settings - Fork 2
/
fop-config-example.xml
executable file
·62 lines (53 loc) · 2.52 KB
/
fop-config-example.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!--
Copyright © 2009,2010 Łukasz Rekucki
This file is part of WL2PDF
WL2PDF is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
WL2PDF is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with WL2PDF. If not, see <http://www.gnu.org/licenses/>.
-->
<configuration>
<strict-configuration>true</strict-configuration>
<base><!-- where fop-hyph.jar is ... --></base>
<font-base><!-- where fonts and their metrics are --></font-base>
<renderers>
<renderer mime="application/pdf">
<fonts>
<font metrics-url="DejaVuSans-BoldOblique.ttf.xml" kerning="yes" embed-url="DejaVuSans-BoldOblique.ttf">
<font-triplet name="DejaVu Sans" style="italic" weight="bold"/>
</font>
<font metrics-url="DejaVuSans-Bold.ttf.xml" kerning="yes" embed-url="DejaVuSans-Bold.ttf">
<font-triplet name="DejaVu Sans" style="normal" weight="bold"/>
</font>
<font metrics-url="DejaVuSans-ExtraLight.ttf.xml" kerning="yes" embed-url="DejaVuSans-ExtraLight.ttf">
<font-triplet name="DejaVu Sans" style="normal" weight="200"/>
</font>
<font metrics-url="DejaVuSans-Oblique.ttf.xml" kerning="yes" embed-url="DejaVuSans-Oblique.ttf">
<font-triplet name="DejaVu Sans" style="italic" weight="normal"/>
</font>
<font metrics-url="DejaVuSans.ttf.xml" kerning="yes" embed-url="DejaVuSans.ttf">
<font-triplet name="DejaVu Sans" style="normal" weight="normal"/>
</font>
<!-- SERIF -->
<font metrics-url="DejaVuSerif-BoldItalic.ttf.xml" kerning="yes" embed-url="DejaVuSerif-BoldItalic.ttf">
<font-triplet name="DejaVu Serif" style="italic" weight="bold"/>
</font>
<font metrics-url="DejaVuSerif-Bold.ttf.xml" kerning="yes" embed-url="DejaVuSerif-Bold.ttf">
<font-triplet name="DejaVu Serif" style="normal" weight="bold"/>
</font>
<font metrics-url="DejaVuSerif-Italic.ttf.xml" kerning="yes" embed-url="DejaVuSerif-Italic.ttf">
<font-triplet name="DejaVu Serif" style="italic" weight="normal"/>
</font>
<font metrics-url="DejaVuSerif.ttf.xml" kerning="yes" embed-url="DejaVuSerif.ttf">
<font-triplet name="DejaVu Serif" style="normal" weight="normal"/>
</font>
</fonts>
</renderer>
</renderers>
</configuration>