diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-01-16 08:50:58 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-01-16 08:50:58 +0000 |
commit | cbb77bbd0c67f5d73c0c346b966f132d02a7bc51 (patch) | |
tree | d37d143331853c1e5620c37133e7b99e5c6beda2 /font/dejavu-ttf/fontconfig/20-unhint-small-dejavu-sans.conf | |
parent | 8f8ba5ed9453d35517e2fbb194a4cb3e48288d6f (diff) |
Import DejaVu fonts. ok naddy@
Diffstat (limited to 'font/dejavu-ttf/fontconfig/20-unhint-small-dejavu-sans.conf')
-rw-r--r-- | font/dejavu-ttf/fontconfig/20-unhint-small-dejavu-sans.conf | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/font/dejavu-ttf/fontconfig/20-unhint-small-dejavu-sans.conf b/font/dejavu-ttf/fontconfig/20-unhint-small-dejavu-sans.conf new file mode 100644 index 000000000..ee69996dc --- /dev/null +++ b/font/dejavu-ttf/fontconfig/20-unhint-small-dejavu-sans.conf @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<fontconfig> + <!-- /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf + + Disable hinting manually at smaller sizes (< 8ppem) + This is a copy of the Bistream Vera fonts fonts rule, as DejaVu is + derived from Vera. + + The Bistream 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. + --> + <match target="font"> + <test name="family"> + <string>DejaVu Sans</string> + </test> + <test compare="less" name="pixelsize"> + <double>7.5</double> + </test> + <edit name="hinting"> + <bool>false</bool> + </edit> + </match> +</fontconfig> |