2 <!DOCTYPE fontconfig SYSTEM
"fonts.dtd">
3 <!-- /etc/fonts/fonts.conf file to configure system font access -->
6 <edit name=
"embeddedbitmap" mode=
"assign"><bool>false
</bool></edit>
9 <match target=
"pattern">
10 <test qual=
"any" name=
"family">
11 <string>Times
</string>
13 <edit name=
"family" mode=
"assign">
14 <string>Times New Roman
</string>
18 <match target=
"pattern">
19 <test qual=
"any" name=
"family">
22 <edit name=
"family" mode=
"assign">
23 <string>Arial
</string>
27 <match target=
"pattern">
28 <test qual=
"any" name=
"family">
29 <string>sans serif
</string>
31 <edit name=
"family" mode=
"assign">
32 <string>Arial
</string>
36 <!-- Some layout tests specify Helvetica as a family and we need to make sure
37 that we don't fallback to Times New Roman for them -->
38 <match target=
"pattern">
39 <test qual=
"any" name=
"family">
40 <string>Helvetica
</string>
42 <edit name=
"family" mode=
"assign">
43 <string>Arial
</string>
47 <match target=
"pattern">
48 <test qual=
"any" name=
"family">
49 <string>sans-serif
</string>
51 <edit name=
"family" mode=
"assign">
52 <string>Arial
</string>
56 <match target=
"pattern">
57 <test qual=
"any" name=
"family">
58 <string>serif
</string>
60 <edit name=
"family" mode=
"assign">
61 <string>Times New Roman
</string>
65 <match target=
"pattern">
66 <test qual=
"any" name=
"family">
69 <edit name=
"family" mode=
"assign">
70 <string>Courier New
</string>
74 <match target=
"pattern">
75 <test qual=
"any" name=
"family">
76 <string>monospace
</string>
78 <edit name=
"family" mode=
"assign">
79 <string>Courier New
</string>
83 <match target=
"pattern">
84 <test qual=
"any" name=
"family">
85 <string>Courier
</string>
87 <edit name=
"family" mode=
"assign">
88 <string>Courier New
</string>
92 <match target=
"pattern">
93 <test qual=
"any" name=
"family">
94 <string>cursive
</string>
96 <edit name=
"family" mode=
"assign">
97 <string>Comic Sans MS
</string>
101 <match target=
"pattern">
102 <test qual=
"any" name=
"family">
103 <string>fantasy
</string>
105 <edit name=
"family" mode=
"assign">
106 <string>Impact
</string>
110 <match target=
"pattern">
111 <test qual=
"any" name=
"family">
112 <string>Monaco
</string>
114 <edit name=
"family" mode=
"assign">
115 <string>Times New Roman
</string>
119 <match target=
"pattern">
120 <test name=
"family" compare=
"eq">
121 <string>NonAntiAliasedSans
</string>
123 <edit name=
"family" mode=
"assign">
124 <string>Arial
</string>
126 <edit name=
"antialias" mode=
"assign">
131 <match target=
"pattern">
132 <test name=
"family" compare=
"eq">
133 <string>SlightHintedGeorgia
</string>
135 <edit name=
"family" mode=
"assign">
136 <string>Georgia
</string>
138 <edit name=
"hintstyle" mode=
"assign">
139 <const>hintslight
</const>
143 <match target=
"pattern">
144 <test name=
"family" compare=
"eq">
145 <string>NonHintedSans
</string>
147 <edit name=
"family" mode=
"assign">
148 <string>Verdana
</string>
150 <!-- These deliberately contradict each other. The 'hinting' preference
151 should take priority -->
152 <edit name=
"hintstyle" mode=
"assign">
153 <const>hintfull
</const>
155 <edit name=
"hinting" mode=
"assign">
160 <match target=
"pattern">
161 <test name=
"family" compare=
"eq">
162 <string>AutohintedSerif
</string>
164 <edit name=
"family" mode=
"assign">
165 <string>Arial
</string>
167 <edit name=
"autohint" mode=
"assign">
170 <edit name=
"hintstyle" mode=
"assign">
171 <const>hintmedium
</const>
175 <match target=
"pattern">
176 <test name=
"family" compare=
"eq">
177 <string>HintedSerif
</string>
179 <edit name=
"family" mode=
"assign">
180 <string>Arial
</string>
182 <edit name=
"autohint" mode=
"assign">
185 <edit name=
"hintstyle" mode=
"assign">
186 <const>hintmedium
</const>
190 <match target=
"pattern">
191 <test name=
"family" compare=
"eq">
192 <string>FullAndAutoHintedSerif
</string>
194 <edit name=
"family" mode=
"assign">
195 <string>Arial
</string>
197 <edit name=
"autohint" mode=
"assign">
200 <edit name=
"hintstyle" mode=
"assign">
201 <const>hintfull
</const>
205 <match target=
"pattern">
206 <test name=
"family" compare=
"eq">
207 <string>SubpixelEnabledArial
</string>
209 <edit name=
"family" mode=
"assign">
210 <string>Arial
</string>
212 <edit name=
"rgba" mode=
"assign">
217 <match target=
"pattern">
218 <test name=
"family" compare=
"eq">
219 <string>SubpixelDisabledArial
</string>
221 <edit name=
"family" mode=
"assign">
222 <string>Arial
</string>
224 <edit name=
"rgba" mode=
"assign">
229 <match target=
"pattern">
230 <!-- FontConfig doesn't currently provide a well-defined way to turn on
231 subpixel positioning. This is just an arbitrary pattern to use after
232 turning subpixel positioning on globally to ensure that we don't have
233 issues with our style getting cached for other tests. -->
234 <test name=
"family" compare=
"eq">
235 <string>SubpixelPositioning
</string>
237 <edit name=
"family" mode=
"assign">
238 <string>Times New Roman
</string>
242 <match target=
"pattern">
243 <!-- See comments above -->
244 <test name=
"family" compare=
"eq">
245 <string>SubpixelPositioningAhem
</string>
247 <edit name=
"family" mode=
"assign">
248 <string>ahem
</string>