Commit | Line | Data |
---|---|---|
5e23020b MW |
1 | <?xml version='1.0'?> |
2 | <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
3 | ||
4 | <fontconfig> | |
5 | ||
6 | <!-- Hacking for the fixed font. | |
7 | ||
8 | After many half-hearted attempts to make this work properly, I'm | |
9 | finally settling on this approach: define MiscFixed6x13 as a | |
10 | magic name for the right font, and then hack configuration files | |
11 | as necessary to make them use it. | |
12 | --> | |
13 | <match target="pattern"> | |
14 | <test name="family"><string>MiscFixed6x13</string></test> | |
15 | <!--test name="size"><double>12</double</test--> | |
16 | <edit name="style"><string>SemiCondensed</string></edit> | |
17 | <edit name="family"><string>Fixed</string></edit> | |
18 | <edit name="foundry"><string>Misc</string></edit> | |
19 | <edit name="dpi"><int>75</int></edit> | |
20 | <edit mode="assign" name="pixelsize"> <double>13</double> </edit> | |
21 | </match> | |
22 | ||
23 | <!-- Hacking for the symbol font. | |
24 | ||
25 | This seems to be necessary to get Iceweasel/Firefox to do the | |
26 | right thing with MathML and suchlike. | |
27 | --> | |
28 | <match target="pattern"> | |
29 | <test name="family"> | |
30 | <string>symbol</string> | |
31 | </test> | |
32 | <edit binding="strong" mode="append" name="family"> | |
33 | <string>Standard Symbols L</string> | |
34 | </edit> | |
35 | </match> | |
36 | ||
37 | <!-- KDE put this here, but it seems worthwhile. | |
38 | ||
39 | Modified so as to force slight hinting rather than medium, | |
40 | because that actually seems to produce more legible characters. | |
41 | --> | |
42 | <match target="font"> | |
43 | <edit mode="assign" name="rgba"><const>none</const></edit> | |
44 | <edit mode="assign" name="hinting"><bool>true</bool></edit> | |
45 | <edit mode="assign" name="hintstyle"><const>hintslight</const></edit> | |
46 | <edit mode="assign" name="antialias"><bool>true</bool></edit> | |
47 | </match> | |
48 | </fontconfig> |