]> git.wh0rd.org Git - fontconfig.git/commitdiff
Add Vera support to default configuration fc-2_1_94
authorKeith Packard <keithp@keithp.com>
Wed, 16 Apr 2003 22:04:42 +0000 (22:04 +0000)
committerKeith Packard <keithp@keithp.com>
Wed, 16 Apr 2003 22:04:42 +0000 (22:04 +0000)
fonts.conf.in

index b4672e07c4c3e2b78243090481d2d002d9cae191..b4c8085ad960fba33168c192b01a0ea8f7cd382b 100644 (file)
@@ -72,6 +72,7 @@
   Serif faces
  -->
        <alias>
+               <family>Bitstream Vera Serif</family>
                <family>Times</family>
                <family>Times New Roman</family>
                <family>Nimbus Roman No9 L</family>
@@ -86,6 +87,7 @@
   Sans-serif faces
  -->
        <alias>
+               <family>Bitstream Vera Sans</family>
                <family>Helvetica</family>
                <family>Arial</family>
                <family>Verdana</family>
   Monospace faces
  -->
        <alias>
+               <family>Bitstream Vera Sans Mono</family>
                <family>Courier</family>
                <family>Courier New</family>
                <family>Andale Mono</family>
                <edit name="globaladvance"><bool>false</bool></edit>
        </match>
 
+<!-- 
+       The Bitstream Vera fonts have GASP entries suggesting that hinting be
+       disabled below 8 ppem, but FreeType ignores those, preferring to use
+       the data found in the instructed hints.  The initial Vera release
+       didn't include the right instructions in the 'prep' table. Fix this
+       by disabling hinting manually at smaller sizes (< 8ppem)
+ -->
+       
+       <match target="font">
+               <test name="family">
+                       <string>Bitstream Vera Sans</string>
+               </test>
+               <test name="pixelsize" compare="less">
+                       <double>7.5</double>
+               </test>
+               <edit name="hinting">
+                       <bool>false</bool>
+               </edit>
+       </match>
+       
+       <match target="font">
+               <test name="family">
+                       <string>Bitstream Vera Serif</string>
+               </test>
+               <test name="pixelsize" compare="less">
+                       <double>7.5</double>
+               </test>
+               <edit name="hinting">
+                       <bool>false</bool>
+               </edit>
+       </match>
+       
+       <match target="font">
+               <test name="family">
+                       <string>Bitstream Vera Sans Mono</string>
+               </test>
+               <test name="pixelsize" compare="less">
+                       <double>7.5</double>
+               </test>
+               <edit name="hinting">
+                       <bool>false</bool>
+               </edit>
+       </match>
+       
 <!--
   Load per-user customization file
 -->
        <alias>
                <family>serif</family>
                <prefer>
+                       <family>Bitstream Vera Serif</family>
                        <family>Times New Roman</family>
                        <family>Nimbus Roman No9 L</family>
                        <family>Luxi Serif</family>
        <alias>
                <family>sans-serif</family>
                <prefer>
+                       <family>Bitstream Vera Sans</family>
                        <family>Verdana</family>
                        <family>Nimbus Sans L</family>
                        <family>Luxi Sans</family>
        <alias>
                <family>monospace</family>
                <prefer>
+                       <family>Bitstream Vera Sans Mono</family>
                        <family>Andale Mono</family>
                        <family>Courier New</family>
                        <family>Luxi Mono</family>