summaryrefslogtreecommitdiff
blob: d3ddc32d7776bc26c2deb3eb319efed801ff8080 (plain)
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
59
60
<?xml version='1.0'?>
<!--
     This file is only here to work around
     https://github.com/telegramdesktop/tdesktop/issues/4240
     It has been taken from (with slight modification)
     https://github.com/telegramdesktop/tdesktop/issues/4493
-->
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
    <dir>/usr/share/fonts</dir>
    <dir>/usr/local/share/fonts</dir>
    <dir prefix="xdg">fonts</dir>
    <match target="pattern">
	<test qual="any" name="family">
	    <string>mono</string>
	</test>
	<edit name="family" mode="assign" binding="same">
	    <string>monospace</string>
	</edit>
    </match>
    <match target="pattern">
	<test qual="any" name="family">
	    <string>sans serif</string>
	</test>
	<edit name="family" mode="assign" binding="same">
	    <string>sans-serif</string>
	</edit>
    </match>
    <match target="pattern">
	<test qual="any" name="family">
	    <string>sans</string>
	</test>
	<edit name="family" mode="assign" binding="same">
	    <string>sans-serif</string>
	</edit>
    </match>
    <cachedir>/var/cache/fontconfig</cachedir>
    <cachedir prefix="xdg">fontconfig</cachedir>
    <cachedir>~/.fontconfig</cachedir>
    <match target="font">
	<edit mode="assign" name="antialias">
	    <bool>true</bool>
	</edit>
	<edit mode="assign" name="embeddedbitmap">
	    <bool>false</bool>
	</edit>
	<edit mode="assign" name="hinting">
	    <bool>true</bool>
	</edit>
	<edit mode="assign" name="hintstyle">
	    <const>hintslight</const>
	</edit>
	<edit mode="assign" name="lcdfilter">
	    <const>lcddefault</const>
	</edit>
	<edit mode="assign" name="rgba">
	    <const>rgb</const>
	</edit>
    </match>
</fontconfig>