feat: add fonts
[dotfiles.git] / .config / fontconfig / fonts.conf
1 <?xml version="1.0"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <fontconfig>
4 <!-- any -->
5 <match target="font">
6 <edit name="rgba"><const>rgb</const></edit>
7 <edit name="lcdfilter"><const>lcddefault</const></edit>
8 <edit name="hinting"><bool>false</bool></edit>
9 <edit name="embolden"><bool>true</bool></edit>
10 </match>
11
12 <!-- aliases -->
13 <alias>
14 <family>Liberation Mono</family>
15 <prefer><family>monospace</family></prefer>
16 </alias>
17
18 <!-- sans -->
19 <match>
20 <test name="family"><string>sans-serif</string></test>
21 <edit name="family" mode="prepend" binding="strong">
22 <string>SF Pro Display</string>
23 </edit>
24 </match>
25
26 <!-- serif -->
27 <match>
28 <test name="family"><string>serif</string></test>
29 <edit name="family" mode="prepend" binding="strong">
30 <string>New York Large</string>
31 </edit>
32 </match>
33
34 <!-- monospace -->
35 <match>
36 <test name="family"><string>monospace</string></test>
37 <edit name="family" mode="prepend" binding="strong">
38 <string>Liga SFMono</string>
39 </edit>
40 </match>
41
42 <!-- emoji -->
43 <match>
44 <test name="family"><string>emoji</string></test>
45 <edit name="family" mode="prepend" binding="strong">
46 <string>Apple Color Emoji</string>
47 </edit>
48 </match>
49 </fontconfig>