diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2017-07-27 02:34:00 -0400 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2017-07-27 02:52:51 -0400 |
commit | 04f219bc6d0b15e42f77aa1edb803bf848a96bff (patch) | |
tree | 303b74bf9db3103aa38ff203c236407d8ea524cc /projects/grub/configs/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans-mono.conf | |
parent | b55ab260b26968bf1f1288831c4012735c1c58e7 (diff) | |
download | librebootfr-04f219bc6d0b15e42f77aa1edb803bf848a96bff.tar.gz librebootfr-04f219bc6d0b15e42f77aa1edb803bf848a96bff.zip |
Reorganize contents of projects/grub/
Diffstat (limited to 'projects/grub/configs/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans-mono.conf')
-rw-r--r-- | projects/grub/configs/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans-mono.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-mono.conf b/projects/grub/configs/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans-mono.conf new file mode 100644 index 00000000..102dbcc4 --- /dev/null +++ b/projects/grub/configs/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans-mono.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-mono.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 Mono</string> + </test> + <test compare="less" name="pixelsize"> + <double>7.5</double> + </test> + <edit name="hinting"> + <bool>false</bool> + </edit> + </match> +</fontconfig> |