-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
- <description>set up render settings; aliases for Source, Dina</description>
-
- <!-- rgb pixel alignment -->
- <match target="font">
- <edit name="rgba" mode="assign">
- <const>rgb</const>
- </edit>
- </match>
- <!-- duplicate 20-hinting-slight.conf just in case -->
- <match target="pattern">
- <edit name="hintstyle" mode="append">
- <const>hintslight</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">
- <string>Helvetica</string>
- </test>
- <edit binding="same" mode="assign" name="family">
- <string>Source Sans Pro</string>
- </edit>
- </match>
-
- <!-- set up preferred aliases -->
- <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 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 binding="same">
- <family>monospace</family>
- <prefer>
- <family>Dina</family>
- <family>Noto Sans Mono</family>
- <family>DejaVu Sans Mono</family>
- <family>FreeMono</family>
- </prefer>
- </alias>
+ <description>aliases for Source, Dina</description>
+ <!-- fuck helvetica -->
+ <match>
+ <test name="family">
+ <string>Helvetica</string>
+ </test>
+ <edit binding="same" mode="assign" name="family">
+ <string>Source Sans Pro</string>
+ </edit>
+ </match>
+ <!-- set up preferred aliases -->
+ <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 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 binding="same">
+ <family>monospace</family>
+ <prefer>
+ <family>Dina</family>
+ <family>Noto Sans Mono</family>
+ <family>DejaVu Sans Mono</family>
+ <family>FreeMono</family>
+ </prefer>
+ </alias>
+ <dir>~/.fonts</dir>
+ <match target="font">
+ <edit mode="assign" name="rgba">
+ <const>none</const>
+ </edit>
+ </match>
</fontconfig>
-
-<!-- vim: set et ft=xml sts=2 sw=2 ts=8 tw=0 :
--->