diff options
author | Keith Packard <keithp@neko.keithp.com> | 2006-09-09 21:32:14 -0700 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2006-09-09 21:32:14 -0700 |
commit | 6c5619a08575943f75d2341e1a4931ec5faf716b (patch) | |
tree | 26ce73304045cbdaeaa3577cbded2b0e7afe98f0 /conf.d/20-unhint-small-vera.conf | |
parent | 9596dce93b751c01770da175d208d78aeaf6ae00 (diff) | |
download | fontconfig-6c5619a08575943f75d2341e1a4931ec5faf716b.tar.gz |
Split much of the configuration into separate files. Renumber files
Most of the remaining elements in fonts.conf have been moved to separate
files. The numbering scheme for conf.d files has been documented in the
README and the files have been renumbered. Config files have been
validated against the DTD and a few minor errors fixed.
Diffstat (limited to 'conf.d/20-unhint-small-vera.conf')
-rw-r--r-- | conf.d/20-unhint-small-vera.conf | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/conf.d/20-unhint-small-vera.conf b/conf.d/20-unhint-small-vera.conf new file mode 100644 index 0000000..3078119 --- /dev/null +++ b/conf.d/20-unhint-small-vera.conf @@ -0,0 +1,49 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<!-- conf.d/sub-pixel.conf --> +<fontconfig> +<!-- + 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> + +</fontconfig> |