-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfixes.conf
43 lines (37 loc) · 1.78 KB
/
fixes.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<description>Various rendering fixes</description>
<!-- Disable hinting at sizes less than 8ppem for Vera-derived fonts.
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 Mono</string></test>
<test compare="less" name="pixelsize"><double>7.5</double></test>
<edit name="hinting"><bool>false</bool></edit>
</match>
<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>
<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>
<match target="font">
<test name="family"><string>Veranda</string></test>
<test compare="less" name="pixelsize"><double>7.5</double></test>
<edit name="hinting"><bool>false</bool></edit>
</match>
<!-- Wine's Courier is a TrueType font with just one bitmap size,
so this would not be needed normally. However, without it,
the generated faux-italics are invisible, even though present. -->
<match target="font">
<test name="family"><string>Courier</string></test>
<edit name="antialias"><bool>false</bool></edit>
</match>
</fontconfig>