summaryrefslogtreecommitdiffstats
path: root/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans-mono.conf
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-07-11 04:53:00 (EDT)
committer Michał Masłowski <mtjm@mtjm.eu>2014-08-22 13:01:19 (EDT)
commitcee90ae0fce6d6aee8d78969b60c952c8890abd6 (patch)
tree6cbca259e213f5ffbc3927121e662c0377938cce /dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans-mono.conf
downloadlibreboot-cee90ae0fce6d6aee8d78969b60c952c8890abd6.zip
libreboot-cee90ae0fce6d6aee8d78969b60c952c8890abd6.tar.gz
libreboot-cee90ae0fce6d6aee8d78969b60c952c8890abd6.tar.bz2
Libreboot release 6 beta 1.r20140711
Diffstat (limited to 'dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans-mono.conf')
-rw-r--r--dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans-mono.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans-mono.conf b/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-sans-mono.conf
new file mode 100644
index 0000000..102dbcc
--- /dev/null
+++ b/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>