diff options
author | Leah Rowe <info@minifree.org> | 2017-08-02 16:13:17 +0000 |
---|---|---|
committer | Gogs <gogitservice@gmail.com> | 2017-08-02 16:13:17 +0000 |
commit | 1d64c9ae0d147068a89390cce49f98b008fd59d8 (patch) | |
tree | 8bc8ec0ae9919c5e1dca301e6cda217705c8ac8b /projects/grub/configs/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans.conf | |
parent | 311e0a0af9641d609b37cd0b9bb5adb0bc464ca4 (diff) | |
parent | 09bba75ca4ec9cb30d7dd37c0bef9aefb16db8bd (diff) | |
download | librebootfr-1d64c9ae0d147068a89390cce49f98b008fd59d8.tar.gz librebootfr-1d64c9ae0d147068a89390cce49f98b008fd59d8.zip |
Merge branch 'x86-integration' of kragle/libreboot into master
Diffstat (limited to 'projects/grub/configs/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans.conf')
-rw-r--r-- | projects/grub/configs/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans.conf | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/projects/grub/configs/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans.conf b/projects/grub/configs/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans.conf new file mode 100644 index 00000000..ee69996d --- /dev/null +++ b/projects/grub/configs/font/dejavu-fonts-ttf-2.34/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> |