2 <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
6 <!-- Hacking for the fixed font.
8 Firstly, make sure that Fixed fonts aren't filtered out when building
9 the font cache. Secondly, arrange that requests for Fixed find the
10 Trad version by preference.
15 <patelt name="family"><string>Fixed</string></patelt>
20 <patelt name="scalable"><bool>false</bool></patelt>
24 <match target="pattern">
25 <test name="family"><string>Fixed</string></test>
26 <edit name="dpi" mode="prepend_first"><int>75</int></edit>
28 <match target="pattern">
29 <test name="family"><string>Fixed</string></test>
30 <test name="size" compare="more_eq"><double>12</double></test>
31 <test name="size" compare="less_eq"><double>14</double></test>
32 <edit name="foundry" mode="prepend_first"><string>Trad</string></edit>
33 <edit name="size"><double>13</double></edit>
34 <edit name="pixelsize"><double>13</double></edit>
35 <edit name="width"><const>semicondensed</const></edit>
37 <match target="pattern">
38 <test name="family"><string>Fixed</string></test>
39 <test name="pixelsize" compare="more_eq"><double>10</double></test>
40 <test name="pixelsize" compare="less_eq"><double>14</double></test>
41 <edit name="foundry" mode="prepend_first"><string>Trad</string></edit>
42 <edit name="size"><double>13</double></edit>
43 <edit name="pixelsize"><double>13</double></edit>
44 <edit name="width"><const>semicondensed</const></edit>
47 <!-- Hacking for the symbol font.
49 This seems to be necessary to get Iceweasel/Firefox to do the
50 right thing with MathML and suchlike.
52 <match target="pattern">
53 <test name="family"><string>Symbol</string></test>
54 <edit name="foundry"><string>urw</string></edit>
55 <edit binding="strong" mode="append" name="family">
56 <string>Standard Symbols L</string>
60 <match target="pattern">
61 <test name="family"><string>Geneva</string></test>
62 <edit mode="append" name="family"><string>FreeSans</string></edit>
65 <!-- KDE put this here, but it seems worthwhile.
67 Modified so as to force slight hinting rather than medium,
68 because that actually seems to produce more legible characters.
71 <test name="scalable"><bool>true</bool></test>
72 <edit mode="assign" name="rgba"><const>none</const></edit>
73 <edit mode="assign" name="hinting"><bool>true</bool></edit>
74 <edit mode="assign" name="hintstyle"><const>hintslight</const></edit>
75 <edit mode="assign" name="antialias"><bool>true</bool></edit>