commit 85e35e019f2057761b10c6024891badaeb24ad92 parent 7c04f3f595336e79a09d35accbaf137a06580e7f Author: Chris Bracken <chris@bracken.jp> Date: Tue, 5 May 2020 10:47:43 -0700 Move .fonts.conf to .conf/fontconfig/fonts.conf An XDG-compliant config path is now supported. Also replaces the contents with just twemoji-color-font, so I get colour emoji by default. Diffstat:
A | .config/fontconfig/fonts.conf | | | 25 | +++++++++++++++++++++++++ |
D | .fonts.conf | | | 42 | ------------------------------------------ |
2 files changed, 25 insertions(+), 42 deletions(-)
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <match target="font"> + <edit name="embeddedbitmap"><bool>false</bool></edit> + </match> + <alias> + <family>sans-serif</family> + <prefer> + <family>Twitter Color Emoji</family> + </prefer> + </alias> + <alias> + <family>serif</family> + <prefer> + <family>Twitter Color Emoji</family> + </prefer> + </alias> + <alias> + <family>monospace</family> + <prefer> + <family>Twitter Color Emoji</family> + </prefer> + </alias> +</fontconfig> diff --git a/.fonts.conf b/.fonts.conf @@ -1,42 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> -<fontconfig> - <match target="font"> - <edit name="embeddedbitmap"><bool>false</bool></edit> - </match> - <alias> - <family>sans-serif</family> - <prefer> - <family>DejaVu Sans</family> - <family>TakaoPGothic</family> - <family>IPAMonaPGothic</family> - <family>IPAPGothic</family> - <family>VL PGothic</family> - <family>Sazanami Gothic</family> - <family>Kochi Gothic</family> - </prefer> - </alias> - <alias> - <family>serif</family> - <prefer> - <family>DejaVu Serif</family> - <family>TakaoPMincho</family> - <family>IPAMonaPMincho</family> - <family>IPAPMincho</family> - <family>Sazanami Mincho</family> - <family>Kochi Mincho</family> - </prefer> - </alias> - <alias> - <family>monospace</family> - <prefer> - <family>DejaVu Sans Mono</family> - <family>TakaoGothic</family> - <family>IPAMonaGothic</family> - <family>IPAGothic</family> - <family>VL Gothic</family> - <family>Sazanami Gothic</family> - <family>Kochi Gothic</family> - </prefer> - </alias> -</fontconfig>