]>
Commit | Line | Data |
---|---|---|
f993e922 | 1 | <?xml version="1.0"?> |
2 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
3 | <fontconfig> | |
4ab8c298 | 4 | <description>set up render settings; aliases for Source, Dina</description> |
f4a5f003 | 5 | |
6 | <!-- rgb pixel alignment --> | |
7 | <match target="font"> | |
8 | <edit name="rgba" mode="assign"> | |
9 | <const>rgb</const> | |
10 | </edit> | |
11 | </match> | |
4ab8c298 | 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> | |
f4a5f003 | 18 | |
4ab8c298 | 19 | <!-- preface 60-generic.conf and prefer no color. |
f4a5f003 | 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 | ||
f993e922 | 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 --> | |
f4a5f003 | 48 | <alias binding="same"> |
49 | <family>emoji</family> | |
1f53b630 | 50 | <prefer> |
51 | <family>Noto Emoji</family> | |
52 | </prefer> | |
53 | </alias> | |
f4a5f003 | 54 | <alias binding="same"> |
55 | <family>sans-serif</family> | |
f993e922 | 56 | <prefer> |
57 | <family>Source Sans Pro</family> | |
58 | <family>Noto Sans Display</family> | |
59 | <family>Noto Sans</family> | |
60 | <family>DejaVu Sans</family> | |
f4a5f003 | 61 | <family>FreeSans</family> |
f993e922 | 62 | </prefer> |
63 | </alias> | |
f4a5f003 | 64 | <alias binding="same"> |
65 | <family>serif</family> | |
f993e922 | 66 | <prefer> |
67 | <family>Source Serif Pro</family> | |
68 | <family>Noto Serif Display</family> | |
69 | <family>Noto Serif</family> | |
70 | <family>DejaVu Serif</family> | |
f4a5f003 | 71 | <family>FreeSerif</family> |
f993e922 | 72 | </prefer> |
73 | </alias> | |
f4a5f003 | 74 | <alias binding="same"> |
75 | <family>monospace</family> | |
f993e922 | 76 | <prefer> |
4ab8c298 | 77 | <family>Dina</family> |
f993e922 | 78 | <family>Noto Sans Mono</family> |
f4a5f003 | 79 | <family>DejaVu Sans Mono</family> |
80 | <family>FreeMono</family> | |
f993e922 | 81 | </prefer> |
82 | </alias> | |
83 | </fontconfig> | |
84 | ||
f4a5f003 | 85 | <!-- vim: set et ft=xml sts=2 sw=2 ts=8 tw=0 : |
f993e922 | 86 | --> |