source: documentation/trunk/manuals/processing/fop-fonts/userconfig.xml@ 18747

Last change on this file since 18747 was 18747, checked in by oranfry, 15 years ago

fixes to get russian fonts working

  • Property svn:keywords set to Author Date Id Revision
File size: 3.8 KB
RevLine 
[13862]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: java org.apache.fop.apps.Fop -c userconfig.xml -fo fo-file -pdf pdf-file
8-->
9
10
11<configuration>
12
13<!--
14baseDir: normally the base directory is the directory where the fo file is
15 located. if you want to specify your own, uncomment this entry.
16 This value can also be a URL. Actually, the value is converted to
17 a URL.
18-->
19<!--
20 <entry>
21 <key>baseDir</key>
22 <value></value>
23 </entry>
24-->
25
26<!--
27fontBaseDir: Similar to baseDir, except that this value is used for fonts. If
28 it isn't specified, the value from baseDir is used.
29-->
30<!--
31 <entry>
32 <key>fontBaseDir</key>
33 <value></value>
34 </entry>
35-->
36
37<!--
38************************************************************************
39 HYPHENATION
40************************************************************************
41-->
42
43<!--
44 hyphenation directory
45 if you want to specify your own directory with hyphenation pattern
46 then uncomment the next entry and add the directory name
47-->
48
49<!--
50 <entry>
51 <key>hyphenation-dir</key>
52 <value>/java/xml-fop/hyph</value>
53 </entry>
54-->
55
56<!--
57************************************************************************
58 Add fonts here
59************************************************************************
60-->
61
62<fonts>
63 <!-- example -->
64 <!--
65 <font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf">
66 <font-triplet name="Arial" style="normal" weight="normal"/>
67 <font-triplet name="ArialMT" style="normal" weight="normal"/>
68 </font>
69 <font metrics-file="arialb.xml" kerning="yes" embed-file="arialb.ttf">
70 <font-triplet name="Arial" style="normal" weight="bold"/>
71 <font-triplet name="ArialMT" style="normal" weight="bold"/>
72 </font>
73 <font metrics-file="ariali.xml" kerning="yes" embed-file="ariali.ttf">
74 <font-triplet name="Arial" style="italic" weight="normal"/>
75 <font-triplet name="ArialMT" style="italic" weight="normal"/>
76 </font>
77 <font metrics-file="arialbi.xml" kerning="yes" embed-file="arialbi.ttf">
78 <font-triplet name="Arial" style="italic" weight="bold"/>
79 <font-triplet name="ArialMT" style="italic" weight="bold"/>
80 </font>
81 -->
82 <!-- Example Japanese fonts
83 <font metrics-file="msgothic.xml" embed-file="D:\winnt\font\msgothic.ttc" kerning="yes">
84 <font-triplet name="Gothic" style="normal" weight="normal"/>
85 <font-triplet name="Gothic" style="normal" weight="bold"/>
86 <font-triplet name="Gothic" style="italic" weight="normal"/>
87 <font-triplet name="Gothic" style="italic" weight="bold"/>
88 </font>
89 <font metrics-file="msmincho.xml" embed-file="Cyberbit.ttf" kerning="yes">
90 <font-triplet name="Mincho" style="normal" weight="normal"/>
91 <font-triplet name="Mincho" style="normal" weight="bold"/>
92 <font-triplet name="Mincho" style="italic" weight="normal"/>
93 <font-triplet name="Mincho" style="italic" weight="bold"/>
94 </font>
95 -->
96
97 <font metrics-file="koi8-t.xml" kerning="yes" embed-file="//usr/share/fonts/encodings/koi8-t.enc.gz">
98 <font-triplet name="koi" style="normal" weight="normal"/>
99 </font>
100
[18747]101 <font metrics-file="../../processing/fop-fonts/Cyrillic.xml" kerning="yes" embed-file="../../processing/fop-fonts/L_10646.TTF" kerning="yes">
[13862]102 <font-triplet name="Cyrillic" style="normal" weight="normal"/>
103 <font-triplet name="Cyrillic" style="normal" weight="bold"/>
[18747]104 <font-triplet name="Cyrillic" style="italic" weight="normal"/>
105 <font-triplet name="Cyrillic" style="italic" weight="bold"/>
[13862]106 </font>
107</fonts>
108
109
110</configuration>
111
112
113
Note: See TracBrowser for help on using the repository browser.