]> git.sev.monster Git - dotfiles.git/blob - xdg/fontconfig/fonts.conf
44f52a1e9684e6ff516bbc74832282b159da1c8e
[dotfiles.git] / xdg / fontconfig / fonts.conf
1 <?xml version="1.0"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <fontconfig>
4   <description>prefer Source, Noto, DejaVu, Free; monospace 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
13   <!-- preface 60-generic.conf and prefer no color. 
14        this value is actually not that useful due to implementation detail...
15     -->
16   <match>
17     <test name="lang">
18       <string>und-zsye</string>
19     </test>
20     <test qual="all" name="color" compare="not_eq">
21       <bool>true</bool>
22     </test>
23     <test qual="all" name="color" compare="not_eq">
24       <bool>false</bool>
25     </test>
26     <edit name="color" mode="append">
27       <bool>false</bool>
28     </edit>
29   </match>
30
31   <!-- fuck helvetica -->
32   <match>
33     <test name="family">
34       <string>Helvetica</string>
35     </test>
36     <edit binding="same" mode="assign" name="family">
37       <string>Source Sans Pro</string>
38     </edit>
39   </match>
40
41   <!-- set up preferred aliases -->
42   <alias binding="same">
43     <family>emoji</family>
44     <prefer>
45       <family>Noto Emoji</family>
46     </prefer>
47   </alias>
48   <alias binding="same">
49     <family>sans-serif</family>
50     <prefer>
51       <family>Source Sans Pro</family>
52       <family>Noto Sans Display</family>
53       <family>Noto Sans</family>
54       <family>DejaVu Sans</family>
55       <family>FreeSans</family>
56     </prefer>
57   </alias>
58   <alias binding="same">
59     <family>serif</family>
60     <prefer>
61       <family>Source Serif Pro</family>
62       <family>Noto Serif Display</family>
63       <family>Noto Serif</family>
64       <family>DejaVu Serif</family>
65       <family>FreeSerif</family>
66     </prefer>
67   </alias>
68   <alias binding="same">
69     <family>monospace</family>
70     <prefer>
71       <!-- fontconfig 2.10 broke Dina - ->
72       <family>Dina</family> -->
73       <family>Noto Sans Mono</family>
74       <family>DejaVu Sans Mono</family>
75       <family>FreeMono</family>
76     </prefer>
77   </alias>
78 </fontconfig>
79
80
81 <!-- vim: set et ft=xml sts=2 sw=2 ts=8 tw=0 :
82 -->
This page took 0.05135 seconds and 2 git commands to generate.