1 <?xml version="1.0"?> |
|
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
|
3 <fontconfig> |
|
4 |
|
5 <!-- |
|
6 Accept deprecated 'mono' alias, replacing it with 'monospace' |
|
7 --> |
|
8 <match target="pattern"> |
|
9 <test qual="any" name="family"> |
|
10 <string>mono</string> |
|
11 </test> |
|
12 <edit name="family" mode="assign"> |
|
13 <string>monospace</string> |
|
14 </edit> |
|
15 </match> |
|
16 |
|
17 <!-- |
|
18 Accept alternate 'sans serif' spelling, replacing it with 'sans-serif' |
|
19 --> |
|
20 <match target="pattern"> |
|
21 <test qual="any" name="family"> |
|
22 <string>sans serif</string> |
|
23 </test> |
|
24 <edit name="family" mode="assign"> |
|
25 <string>sans-serif</string> |
|
26 </edit> |
|
27 </match> |
|
28 |
|
29 <!-- |
|
30 Accept deprecated 'sans' alias, replacing it with 'sans-serif' |
|
31 --> |
|
32 <match target="pattern"> |
|
33 <test qual="any" name="family"> |
|
34 <string>sans</string> |
|
35 </test> |
|
36 <edit name="family" mode="assign"> |
|
37 <string>sans-serif</string> |
|
38 </edit> |
|
39 </match> |
|
40 |
|
41 |
|
42 <config> |
|
43 <!-- |
|
44 These are the default Unicode chars that are expected to be blank |
|
45 in fonts. All other blank chars are assumed to be broken and |
|
46 won't appear in the resulting charsets |
|
47 --> |
|
48 <blank> |
|
49 <int>0x0020</int> <!-- SPACE --> |
|
50 <int>0x00A0</int> <!-- NO-BREAK SPACE --> |
|
51 <int>0x00AD</int> <!-- SOFT HYPHEN --> |
|
52 <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER --> |
|
53 <int>0x0600</int> <!-- ARABIC NUMBER SIGN --> |
|
54 <int>0x0601</int> <!-- ARABIC SIGN SANAH --> |
|
55 <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER --> |
|
56 <int>0x0603</int> <!-- ARABIC SIGN SAFHA --> |
|
57 <int>0x06DD</int> <!-- ARABIC END OF AYAH --> |
|
58 <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK --> |
|
59 <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER --> |
|
60 <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER --> |
|
61 <int>0x1680</int> <!-- OGHAM SPACE MARK --> |
|
62 <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ --> |
|
63 <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA --> |
|
64 <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR --> |
|
65 <int>0x2000</int> <!-- EN QUAD --> |
|
66 <int>0x2001</int> <!-- EM QUAD --> |
|
67 <int>0x2002</int> <!-- EN SPACE --> |
|
68 <int>0x2003</int> <!-- EM SPACE --> |
|
69 <int>0x2004</int> <!-- THREE-PER-EM SPACE --> |
|
70 <int>0x2005</int> <!-- FOUR-PER-EM SPACE --> |
|
71 <int>0x2006</int> <!-- SIX-PER-EM SPACE --> |
|
72 <int>0x2007</int> <!-- FIGURE SPACE --> |
|
73 <int>0x2008</int> <!-- PUNCTUATION SPACE --> |
|
74 <int>0x2009</int> <!-- THIN SPACE --> |
|
75 <int>0x200A</int> <!-- HAIR SPACE --> |
|
76 <int>0x200B</int> <!-- ZERO WIDTH SPACE --> |
|
77 <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER --> |
|
78 <int>0x200D</int> <!-- ZERO WIDTH JOINER --> |
|
79 <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK --> |
|
80 <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK --> |
|
81 <int>0x2028</int> <!-- LINE SEPARATOR --> |
|
82 <int>0x2029</int> <!-- PARAGRAPH SEPARATOR --> |
|
83 <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING --> |
|
84 <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING --> |
|
85 <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING --> |
|
86 <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE --> |
|
87 <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE --> |
|
88 <int>0x202F</int> <!-- NARROW NO-BREAK SPACE --> |
|
89 <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE --> |
|
90 <int>0x2060</int> <!-- WORD JOINER --> |
|
91 <int>0x2061</int> <!-- FUNCTION APPLICATION --> |
|
92 <int>0x2062</int> <!-- INVISIBLE TIMES --> |
|
93 <int>0x2063</int> <!-- INVISIBLE SEPARATOR --> |
|
94 <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING --> |
|
95 <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING --> |
|
96 <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING --> |
|
97 <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING --> |
|
98 <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES --> |
|
99 <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES --> |
|
100 <int>0x3000</int> <!-- IDEOGRAPHIC SPACE --> |
|
101 <int>0x3164</int> <!-- HANGUL FILLER --> |
|
102 <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE --> |
|
103 <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER --> |
|
104 <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR --> |
|
105 <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR --> |
|
106 <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR --> |
|
107 </blank> |
|
108 <!-- |
|
109 Rescan configuration every 30 seconds when FcFontSetList is called |
|
110 --> |
|
111 <rescan> |
|
112 <int>30</int> |
|
113 </rescan> |
|
114 </config> |
|
115 |
|
116 <!-- |
|
117 URW provides metric and shape compatible fonts for these 10 Adobe families. |
|
118 |
|
119 However, these fonts are quite ugly and do not render well on-screen, |
|
120 so we avoid matching them if the application said `anymetrics'; in that |
|
121 case, a more generic font with different metrics but better appearance |
|
122 will be used. |
|
123 --> |
|
124 <match target="pattern"> |
|
125 <test name="family"> |
|
126 <string>Avant Garde</string> |
|
127 </test> |
|
128 <test name="anymetrics" qual="all" compare="not_eq"> |
|
129 <bool>true</bool> |
|
130 </test> |
|
131 <edit name="family" mode="append"> |
|
132 <string>URW Gothic L</string> |
|
133 </edit> |
|
134 </match> |
|
135 <match target="pattern"> |
|
136 <test name="family"> |
|
137 <string>Bookman</string> |
|
138 </test> |
|
139 <test name="anymetrics" qual="all" compare="not_eq"> |
|
140 <bool>true</bool> |
|
141 </test> |
|
142 <edit name="family" mode="append"> |
|
143 <string>URW Bookman L</string> |
|
144 </edit> |
|
145 </match> |
|
146 <match target="pattern"> |
|
147 <test name="family"> |
|
148 <string>Courier</string> |
|
149 </test> |
|
150 <test name="anymetrics" qual="all" compare="not_eq"> |
|
151 <bool>true</bool> |
|
152 </test> |
|
153 <edit name="family" mode="append"> |
|
154 <string>Nimbus Mono L</string> |
|
155 </edit> |
|
156 </match> |
|
157 <match target="pattern"> |
|
158 <test name="family"> |
|
159 <string>Helvetica</string> |
|
160 </test> |
|
161 <test name="anymetrics" qual="all" compare="not_eq"> |
|
162 <bool>true</bool> |
|
163 </test> |
|
164 <edit name="family" mode="append"> |
|
165 <string>Nimbus Sans L</string> |
|
166 </edit> |
|
167 </match> |
|
168 <match target="pattern"> |
|
169 <test name="family"> |
|
170 <string>New Century Schoolbook</string> |
|
171 </test> |
|
172 <test name="anymetrics" qual="all" compare="not_eq"> |
|
173 <bool>true</bool> |
|
174 </test> |
|
175 <edit name="family" mode="append"> |
|
176 <string>Century Schoolbook L</string> |
|
177 </edit> |
|
178 </match> |
|
179 <match target="pattern"> |
|
180 <test name="family"> |
|
181 <string>Palatino</string> |
|
182 </test> |
|
183 <test name="anymetrics" qual="all" compare="not_eq"> |
|
184 <bool>true</bool> |
|
185 </test> |
|
186 <edit name="family" mode="append"> |
|
187 <string>URW Palladio L</string> |
|
188 </edit> |
|
189 </match> |
|
190 <match target="pattern"> |
|
191 <test name="family"> |
|
192 <string>Times</string> |
|
193 </test> |
|
194 <test name="anymetrics" qual="all" compare="not_eq"> |
|
195 <bool>true</bool> |
|
196 </test> |
|
197 <edit name="family" mode="append"> |
|
198 <string>Nimbus Roman No9 L</string> |
|
199 </edit> |
|
200 </match> |
|
201 <match target="pattern"> |
|
202 <test name="family"> |
|
203 <string>Zapf Chancery</string> |
|
204 </test> |
|
205 <test name="anymetrics" qual="all" compare="not_eq"> |
|
206 <bool>true</bool> |
|
207 </test> |
|
208 <edit name="family" mode="append"> |
|
209 <string>URW Chancery L</string> |
|
210 </edit> |
|
211 </match> |
|
212 <match target="pattern"> |
|
213 <test name="family"> |
|
214 <string>Zapf Dingbats</string> |
|
215 </test> |
|
216 <test name="anymetrics" qual="all" compare="not_eq"> |
|
217 <bool>true</bool> |
|
218 </test> |
|
219 <edit name="family" mode="append"> |
|
220 <string>Dingbats</string> |
|
221 </edit> |
|
222 </match> |
|
223 <match target="pattern"> |
|
224 <test name="family"> |
|
225 <string>Symbol</string> |
|
226 </test> |
|
227 <test name="anymetrics" qual="all" compare="not_eq"> |
|
228 <bool>true</bool> |
|
229 </test> |
|
230 <edit name="family" mode="append" binding="same"> |
|
231 <string>Standard Symbols L</string> |
|
232 </edit> |
|
233 </match> |
|
234 |
|
235 <!-- |
|
236 Serif faces |
|
237 --> |
|
238 <alias> |
|
239 <family>Nimbus Roman No9 L</family> |
|
240 <default><family>serif</family></default> |
|
241 </alias> |
|
242 <!-- |
|
243 Sans-serif faces |
|
244 --> |
|
245 <alias> |
|
246 <family>Nimbus Sans L</family> |
|
247 <default><family>sans-serif</family></default> |
|
248 </alias> |
|
249 <!-- |
|
250 Monospace faces |
|
251 --> |
|
252 <alias> |
|
253 <family>Nimbus Mono L</family> |
|
254 <default><family>monospace</family></default> |
|
255 </alias> |
|
256 |
|
257 |
|
258 </fontconfig> |
|