20-unhint-small-dejavu-sans.conf - randomcrap - random crap programs of varying quality
 (HTM) git clone git://git.codemadness.org/randomcrap
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       20-unhint-small-dejavu-sans.conf (856B)
       ---
            1 <?xml version="1.0" encoding="UTF-8"?>
            2 <!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
            3 <fontconfig>
            4   <!--  /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
            5 
            6         Disable hinting manually at smaller sizes (< 8ppem)
            7         This is a copy of the Bistream Vera fonts fonts rule, as DejaVu is
            8         derived from Vera.
            9 
           10         The Bistream Vera fonts have GASP entries suggesting that hinting be
           11         disabled below 8 ppem, but FreeType ignores those, preferring to use
           12         the data found in the instructed hints. The initial Vera release
           13         didn't include the right instructions in the 'prep' table.
           14  -->
           15   <match target="font">
           16     <test name="family">
           17       <string>DejaVu Sans</string>
           18     </test>
           19     <test compare="less" name="pixelsize">
           20       <double>7.5</double>
           21     </test>
           22     <edit name="hinting">
           23       <bool>false</bool>
           24     </edit>
           25   </match>
           26 </fontconfig>