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