summaryrefslogtreecommitdiffstats
path: root/resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-13 19:47:45 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-13 19:47:45 (EST)
commitfa81062305b459ba401a9d45fe9cc3f72a25df56 (patch)
tree112724d7aa821c6e7274a60a84be7e51823d91da /resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf
parentc9fa7f1037acf6958d8b2626a19e31460d8a2c2f (diff)
downloadlibreboot-fa81062305b459ba401a9d45fe9cc3f72a25df56.zip
libreboot-fa81062305b459ba401a9d45fe9cc3f72a25df56.tar.gz
libreboot-fa81062305b459ba401a9d45fe9cc3f72a25df56.tar.bz2
Moved dejavu-fonts-ttf-2.34/AUTHORS to resources/grub/font/
Diffstat (limited to 'resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf')
-rw-r--r--resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf b/resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf
new file mode 100644
index 0000000..cf6caa2
--- /dev/null
+++ b/resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.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-serif.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 Serif</string>
+ </test>
+ <test compare="less" name="pixelsize">
+ <double>7.5</double>
+ </test>
+ <edit name="hinting">
+ <bool>false</bool>
+ </edit>
+ </match>
+</fontconfig>