forked from paulrufous/config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.fonts.conf
58 lines (58 loc) · 1.4 KB
/
.fonts.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!--USER'S CONFIG FOR FONTS SMOOTHING-->
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle">
<const>hintfull</const>
</edit>
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
<edit mode="assign" name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="pattern">
<edit mode="assign" name="dpi">
<double>96</double>
</edit>
</match>
<!--Making Calibri and other Microsoft fonts display correctly-->
<!--TODO: Teach wine to do this-->
<match target="font">
<edit mode="assign" name="embeddedbitmap">
<bool>false</bool>
</edit>
</match>
</fontconfig>
<!--DO NOT SMOOTH CALIBRI LESS THAN SIZE 15-->
<!--
<match target="font">
<test qual="any" name="family">
<string>Calibri</string>
</test>
<test qual="any" name="size" compare="less">
<double>15</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
<edit mode="assign" name="rgba">
<const>none</const>
</edit>
<edit mode="assign" name="hinting">
<bool>false</bool>
</edit>
</match>
-->
<!-- END OF MY LINES -->