]> git.pld-linux.org Git - packages/crossmingw32-fontconfig.git/commitdiff
- Force autohinting for Luxi and Quasi*TTF fonts. They have poor hinting
authorqrczak <qrczak@pld-linux.org>
Mon, 29 Mar 2004 20:57:26 +0000 (20:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  instructions. Are there other fonts worth adding here?
- Merge three rules for Vera fonts into equivalent one rule.
- Release 4.

Changed files:
    fontconfig-autohint.patch -> 1.1

fontconfig-autohint.patch [new file with mode: 0644]

diff --git a/fontconfig-autohint.patch b/fontconfig-autohint.patch
new file mode 100644 (file)
index 0000000..fef41a1
--- /dev/null
@@ -0,0 +1,55 @@
+--- fontconfig-2.2.92/fonts.conf.in~   Mon Mar 29 22:49:31 2004
++++ fontconfig-2.2.92/fonts.conf.in    Mon Mar 29 22:51:44 2004
+@@ -177,18 +177,8 @@
+       <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>
++                      <string>Bitstream Vera Sans Mono</string>
+               </test>
+               <test name="pixelsize" compare="less">
+                       <double>7.5</double>
+@@ -198,15 +188,26 @@
+               </edit>
+       </match>
++<!-- 
++      The Luxi and Quasi*TTF fonts have poor hinting instructions.
++      Autohinting gives better results for them.
++ -->
++
+       <match target="font">
+               <test name="family">
+-                      <string>Bitstream Vera Sans Mono</string>
++                      <string>Luxi Sans</string>
++                      <string>Luxi Serif</string>
++                      <string>Luxi Mono</string>
++                      <string>QuasiBookmanTTF</string>
++                      <string>QuasiChanceryTTF</string>
++                      <string>QuasiCourierTTF</string>
++                      <string>QuasiPalatinoTTF</string>
++                      <string>QuasiSwissCondensedTTF</string>
++                      <string>QuasiSwissTTF</string>
++                      <string>QuasiTimesTTF</string>
+               </test>
+-              <test name="pixelsize" compare="less">
+-                      <double>7.5</double>
+-              </test>
+-              <edit name="hinting">
+-                      <bool>false</bool>
++              <edit name="autohint">
++                      <bool>true</bool>
+               </edit>
+       </match>
This page took 0.158029 seconds and 4 git commands to generate.