]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0"?> | |
2 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
3 | <fontconfig> | |
4 | <description>set up render settings; aliases for Source, Dina</description> | |
5 | ||
6 | <!-- rgb pixel alignment --> | |
7 | <match target="font"> | |
8 | <edit name="rgba" mode="assign"> | |
9 | <const>rgb</const> | |
10 | </edit> | |
11 | </match> | |
12 | <!-- duplicate 20-hinting-slight.conf just in case --> | |
13 | <match target="pattern"> | |
14 | <edit name="hintstyle" mode="append"> | |
15 | <const>hintslight</const> | |
16 | </edit> | |
17 | </match> | |
18 | ||
19 | <!-- preface 60-generic.conf and prefer no color. | |
20 | this value is actually not that useful due to implementation detail... | |
21 | --> | |
22 | <match> | |
23 | <test name="lang"> | |
24 | <string>und-zsye</string> | |
25 | </test> | |
26 | <test qual="all" name="color" compare="not_eq"> | |
27 | <bool>true</bool> | |
28 | </test> | |
29 | <test qual="all" name="color" compare="not_eq"> | |
30 | <bool>false</bool> | |
31 | </test> | |
32 | <edit name="color" mode="append"> | |
33 | <bool>false</bool> | |
34 | </edit> | |
35 | </match> | |
36 | ||
37 | <!-- fuck helvetica --> | |
38 | <match> | |
39 | <test name="family"> | |
40 | <string>Helvetica</string> | |
41 | </test> | |
42 | <edit binding="same" mode="assign" name="family"> | |
43 | <string>Source Sans Pro</string> | |
44 | </edit> | |
45 | </match> | |
46 | ||
47 | <!-- set up preferred aliases --> | |
48 | <alias binding="same"> | |
49 | <family>emoji</family> | |
50 | <prefer> | |
51 | <family>Noto Emoji</family> | |
52 | </prefer> | |
53 | </alias> | |
54 | <alias binding="same"> | |
55 | <family>sans-serif</family> | |
56 | <prefer> | |
57 | <family>Source Sans Pro</family> | |
58 | <family>Noto Sans Display</family> | |
59 | <family>Noto Sans</family> | |
60 | <family>DejaVu Sans</family> | |
61 | <family>FreeSans</family> | |
62 | </prefer> | |
63 | </alias> | |
64 | <alias binding="same"> | |
65 | <family>serif</family> | |
66 | <prefer> | |
67 | <family>Source Serif Pro</family> | |
68 | <family>Noto Serif Display</family> | |
69 | <family>Noto Serif</family> | |
70 | <family>DejaVu Serif</family> | |
71 | <family>FreeSerif</family> | |
72 | </prefer> | |
73 | </alias> | |
74 | <alias binding="same"> | |
75 | <family>monospace</family> | |
76 | <prefer> | |
77 | <family>Dina</family> | |
78 | <family>Noto Sans Mono</family> | |
79 | <family>DejaVu Sans Mono</family> | |
80 | <family>FreeMono</family> | |
81 | </prefer> | |
82 | </alias> | |
83 | </fontconfig> | |
84 | ||
85 | <!-- vim: set et ft=xml sts=2 sw=2 ts=8 tw=0 : | |
86 | --> |