<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
+ <description>prefer Source, Noto, DejaVu, Free; monospace Dina</description>
+
+ <!-- rgb pixel alignment -->
+ <match target="font">
+ <edit name="rgba" mode="assign">
+ <const>rgb</const>
+ </edit>
+ </match>
+
+ <!-- preface 60-generic.conf and prefer no color.
+ this value is actually not that useful due to implementation detail...
+ -->
+ <match>
+ <test name="lang">
+ <string>und-zsye</string>
+ </test>
+ <test qual="all" name="color" compare="not_eq">
+ <bool>true</bool>
+ </test>
+ <test qual="all" name="color" compare="not_eq">
+ <bool>false</bool>
+ </test>
+ <edit name="color" mode="append">
+ <bool>false</bool>
+ </edit>
+ </match>
+
<!-- fuck helvetica -->
<match>
<test name="family">
</match>
<!-- set up preferred aliases -->
- <alias><family>sans-serif</family>
+ <alias binding="same">
+ <family>emoji</family>
+ <prefer>
+ <family>Noto Emoji</family>
+ </prefer>
+ </alias>
+ <alias binding="same">
+ <family>sans-serif</family>
<prefer>
<family>Source Sans Pro</family>
<family>Noto Sans Display</family>
<family>Noto Sans</family>
<family>DejaVu Sans</family>
+ <family>FreeSans</family>
</prefer>
</alias>
- <alias><family>serif</family>
+ <alias binding="same">
+ <family>serif</family>
<prefer>
<family>Source Serif Pro</family>
<family>Noto Serif Display</family>
<family>Noto Serif</family>
<family>DejaVu Serif</family>
+ <family>FreeSerif</family>
</prefer>
</alias>
- <alias><family>monospace</family>
+ <alias binding="same">
+ <family>monospace</family>
<prefer>
- <family>Dina</family>
+ <!-- fontconfig 2.10 broke Dina - ->
+ <family>Dina</family> -->
<family>Noto Sans Mono</family>
- <family>DejaVu Mono</family>
- <family>Ubuntu Mono</family>
+ <family>DejaVu Sans Mono</family>
+ <family>FreeMono</family>
</prefer>
</alias>
</fontconfig>
-<!-- vim: set et fenc=utf-8 ft=xml sts=2 sw=2 ts=8 tw=0 :
+
+<!-- vim: set et ft=xml sts=2 sw=2 ts=8 tw=0 :
-->