Don't preload rarely seen large images
[chromium-blink-merge.git] / components / test_runner / resources / fonts / fonts.conf
blobd337b12431d40127639bd7703d963f11d268412c
1 <?xml version="1.0"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <!-- /etc/fonts/fonts.conf file to configure system font access -->
4 <fontconfig>
5 <match target="font">
6 <edit name="embeddedbitmap" mode="assign"><bool>false</bool></edit>
7 </match>
9 <match target="pattern">
10 <test qual="any" name="family">
11 <string>Times</string>
12 </test>
13 <edit name="family" mode="assign">
14 <string>Times New Roman</string>
15 </edit>
16 </match>
18 <match target="pattern">
19 <test qual="any" name="family">
20 <string>sans</string>
21 </test>
22 <edit name="family" mode="assign">
23 <string>Arial</string>
24 </edit>
25 </match>
27 <match target="pattern">
28 <test qual="any" name="family">
29 <string>sans serif</string>
30 </test>
31 <edit name="family" mode="assign">
32 <string>Arial</string>
33 </edit>
34 </match>
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>
41 </test>
42 <edit name="family" mode="assign">
43 <string>Arial</string>
44 </edit>
45 </match>
47 <match target="pattern">
48 <test qual="any" name="family">
49 <string>sans-serif</string>
50 </test>
51 <edit name="family" mode="assign">
52 <string>Arial</string>
53 </edit>
54 </match>
56 <match target="pattern">
57 <test qual="any" name="family">
58 <string>serif</string>
59 </test>
60 <edit name="family" mode="assign">
61 <string>Times New Roman</string>
62 </edit>
63 </match>
65 <match target="pattern">
66 <test qual="any" name="family">
67 <string>mono</string>
68 </test>
69 <edit name="family" mode="assign">
70 <string>Courier New</string>
71 </edit>
72 </match>
74 <match target="pattern">
75 <test qual="any" name="family">
76 <string>monospace</string>
77 </test>
78 <edit name="family" mode="assign">
79 <string>Courier New</string>
80 </edit>
81 </match>
83 <match target="pattern">
84 <test qual="any" name="family">
85 <string>Courier</string>
86 </test>
87 <edit name="family" mode="assign">
88 <string>Courier New</string>
89 </edit>
90 </match>
92 <match target="pattern">
93 <test qual="any" name="family">
94 <string>cursive</string>
95 </test>
96 <edit name="family" mode="assign">
97 <string>Comic Sans MS</string>
98 </edit>
99 </match>
101 <match target="pattern">
102 <test qual="any" name="family">
103 <string>fantasy</string>
104 </test>
105 <edit name="family" mode="assign">
106 <string>Impact</string>
107 </edit>
108 </match>
110 <match target="pattern">
111 <test qual="any" name="family">
112 <string>Monaco</string>
113 </test>
114 <edit name="family" mode="assign">
115 <string>Times New Roman</string>
116 </edit>
117 </match>
119 <match target="pattern">
120 <test name="family" compare="eq">
121 <string>NonAntiAliasedSans</string>
122 </test>
123 <edit name="family" mode="assign">
124 <string>Arial</string>
125 </edit>
126 <edit name="antialias" mode="assign">
127 <bool>false</bool>
128 </edit>
129 </match>
131 <match target="pattern">
132 <test name="family" compare="eq">
133 <string>SlightHintedGeorgia</string>
134 </test>
135 <edit name="family" mode="assign">
136 <string>Georgia</string>
137 </edit>
138 <edit name="hintstyle" mode="assign">
139 <const>hintslight</const>
140 </edit>
141 </match>
143 <match target="pattern">
144 <test name="family" compare="eq">
145 <string>NonHintedSans</string>
146 </test>
147 <edit name="family" mode="assign">
148 <string>Verdana</string>
149 </edit>
150 <!-- These deliberately contradict each other. The 'hinting' preference
151 should take priority -->
152 <edit name="hintstyle" mode="assign">
153 <const>hintfull</const>
154 </edit>
155 <edit name="hinting" mode="assign">
156 <bool>false</bool>
157 </edit>
158 </match>
160 <match target="pattern">
161 <test name="family" compare="eq">
162 <string>AutohintedSerif</string>
163 </test>
164 <edit name="family" mode="assign">
165 <string>Arial</string>
166 </edit>
167 <edit name="autohint" mode="assign">
168 <bool>true</bool>
169 </edit>
170 <edit name="hintstyle" mode="assign">
171 <const>hintmedium</const>
172 </edit>
173 </match>
175 <match target="pattern">
176 <test name="family" compare="eq">
177 <string>HintedSerif</string>
178 </test>
179 <edit name="family" mode="assign">
180 <string>Arial</string>
181 </edit>
182 <edit name="autohint" mode="assign">
183 <bool>false</bool>
184 </edit>
185 <edit name="hintstyle" mode="assign">
186 <const>hintmedium</const>
187 </edit>
188 </match>
190 <match target="pattern">
191 <test name="family" compare="eq">
192 <string>FullAndAutoHintedSerif</string>
193 </test>
194 <edit name="family" mode="assign">
195 <string>Arial</string>
196 </edit>
197 <edit name="autohint" mode="assign">
198 <bool>true</bool>
199 </edit>
200 <edit name="hintstyle" mode="assign">
201 <const>hintfull</const>
202 </edit>
203 </match>
205 <match target="pattern">
206 <test name="family" compare="eq">
207 <string>SubpixelEnabledArial</string>
208 </test>
209 <edit name="family" mode="assign">
210 <string>Arial</string>
211 </edit>
212 <edit name="rgba" mode="assign">
213 <const>rgb</const>
214 </edit>
215 </match>
217 <match target="pattern">
218 <test name="family" compare="eq">
219 <string>SubpixelDisabledArial</string>
220 </test>
221 <edit name="family" mode="assign">
222 <string>Arial</string>
223 </edit>
224 <edit name="rgba" mode="assign">
225 <const>none</const>
226 </edit>
227 </match>
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>
236 </test>
237 <edit name="family" mode="assign">
238 <string>Times New Roman</string>
239 </edit>
240 </match>
242 <match target="pattern">
243 <!-- See comments above -->
244 <test name="family" compare="eq">
245 <string>SubpixelPositioningAhem</string>
246 </test>
247 <edit name="family" mode="assign">
248 <string>ahem</string>
249 </edit>
250 </match>
252 </fontconfig>