diff options
Diffstat (limited to 'fontconfig/conf.d/49-sansserif.conf')
-rw-r--r-- | fontconfig/conf.d/49-sansserif.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/fontconfig/conf.d/49-sansserif.conf b/fontconfig/conf.d/49-sansserif.conf new file mode 100644 index 000000000..c6209a7d3 --- /dev/null +++ b/fontconfig/conf.d/49-sansserif.conf @@ -0,0 +1,21 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> +<!-- + If the font still has no generic name, add sans-serif + --> + <match target="pattern"> + <test qual="all" name="family" compare="not_eq"> + <string>sans-serif</string> + </test> + <test qual="all" name="family" compare="not_eq"> + <string>serif</string> + </test> + <test qual="all" name="family" compare="not_eq"> + <string>monospace</string> + </test> + <edit name="family" mode="append_last"> + <string>sans-serif</string> + </edit> + </match> +</fontconfig> |