fonts.conf: More 6x13 hacking.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 15 Dec 2008 02:06:08 +0000 (02:06 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 15 Dec 2008 02:06:08 +0000 (02:06 +0000)
Filter out the other bitmap fonts, because they make Iceweasel/FF
use crappy fonts for web pages.  Make sure that only the semicondensed
version is left.

fonts.conf

index ddc4220..495e4e0 100644 (file)
        magic name for the right font, and then hack configuration files
        as necessary to make them use it.
     -->
+  <selectfont>
+    <acceptfont>
+      <pattern>
+       <patelt name="family"><string>Fixed</string></patelt>
+       <patelt name="width"><int>87</int></patelt>
+      </pattern>
+    </acceptfont>
+    <rejectfont>
+      <pattern>
+       <patelt name="scalable"><bool>false</bool></patelt>
+      </pattern>
+    </rejectfont>
+  </selectfont>
   <match target="pattern">
     <test name="family"><string>MiscFixed6x13</string></test>
-    <!--test name="size"><double>12</double</test-->
-    <edit name="style"><string>SemiCondensed</string></edit>
+    <!-- edit name="size"><double>12</double></edit -->
+    <edit name="width"><int>87</int></edit>
     <edit name="family"><string>Fixed</string></edit>
     <edit name="foundry"><string>Misc</string></edit>
     <edit name="dpi"><int>75</int></edit>