about summary refs log tree commit diff
path: root/fontconfig/.local
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fontconfig/.local/etc/fontconfig/fonts.conf257
1 files changed, 257 insertions, 0 deletions
diff --git a/fontconfig/.local/etc/fontconfig/fonts.conf b/fontconfig/.local/etc/fontconfig/fonts.conf
new file mode 100644
index 0000000..2dd0378
--- /dev/null
+++ b/fontconfig/.local/etc/fontconfig/fonts.conf
@@ -0,0 +1,257 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+    <alias>
+        <family>Source Sans Pro</family>
+        <default>
+            <family>sans-serif</family>
+        </default>
+    </alias>
+    <alias>
+        <family>Source Code Pro</family>
+        <default>
+            <family>monospace</family>
+        </default>
+    </alias>
+    <alias>
+        <family>Source Han Sans JP</family>
+        <default>
+            <family>sans-serif</family>
+        </default>
+    </alias>
+    <alias>
+        <family>Source Han Sans KR</family>
+        <default>
+            <family>sans-serif</family>
+        </default>
+    </alias>
+    <alias>
+        <family>Source Han Sans CN</family>
+        <default>
+            <family>sans-serif</family>
+        </default>
+    </alias>
+    <alias>
+        <family>Source Han Sans TW</family>
+        <default>
+            <family>sans-serif</family>
+        </default>
+    </alias>
+    <alias>
+        <family>M+ 2p</family>
+        <default>
+            <family>serif</family>
+        </default>
+    </alias>
+    <alias>
+        <family>M+ 2c</family>
+        <default>
+            <family>serif</family>
+        </default>
+    </alias>
+    <alias>
+        <family>M+ 2m</family>
+        <default>
+            <family>serif</family>
+        </default>
+    </alias>
+    <alias>
+        <family>M+ 1p</family>
+        <default>
+            <family>sans-serif</family>
+        </default>
+    </alias>
+    <alias>
+        <family>M+ 1c</family>
+        <default>
+            <family>sans-serif</family>
+        </default>
+    </alias>
+    <alias>
+        <family>M+ 1m</family>
+        <default>
+            <family>sans-serif</family>
+        </default>
+    </alias>
+    <alias>
+        <family>M+ 1mn</family>
+        <default>
+            <family>monospace</family>
+        </default>
+    </alias>
+    <alias>
+        <family>M+ 2mn</family>
+        <default>
+            <family>monospace</family>
+        </default>
+    </alias>
+    <alias>
+        <family>UW Ttyp0</family>
+        <default>
+            <family>monospace</family>
+        </default>
+    </alias>
+    <!--
+    <match target="pattern">
+        <test qual="any" name="family">
+            <string>UW Ttyp0</string>
+        </test>
+        <test name="weight" compare="more">
+            <const>medium</const>
+        </test>
+        <edit name="weight" mode="assign" binding="same">
+            <const>medium</const>
+        </edit>
+    </match>
+    -->
+    <alias>
+        <family>Efont Biwidth</family>
+        <default>
+            <family>monospace</family>
+        </default>
+    </alias>
+    <!--
+    <match target="pattern">
+        <test qual="any" name="family">
+            <string>Efont Biwidth</string>
+        </test>
+        <test name="weight" compare="more">
+            <const>medium</const>
+        </test>
+        <edit name="weight" mode="assign" binding="same">
+            <const>medium</const>
+        </edit>
+    </match>
+    -->
+    <alias>
+        <family>Efont Fixed</family>
+        <default>
+            <family>monospace</family>
+        </default>
+    </alias>
+    <!--
+    <match target="pattern">
+        <test qual="any" name="family">
+            <string>Efont Fixed</string>
+        </test>
+        <test name="weight" compare="more">
+            <const>medium</const>
+        </test>
+        <edit name="weight" mode="assign" binding="same">
+            <const>medium</const>
+        </edit>
+    </match>
+    -->
+    <alias>
+        <family>Misc Batang Wide</family>
+        <default>
+            <family>monospace</family>
+        </default>
+    </alias>
+    <!--
+    <match target="pattern">
+        <test qual="any" name="family">
+            <string>Misc Batang Wide</string>
+        </test>
+        <test name="weight" compare="more">
+            <const>medium</const>
+        </test>
+        <edit name="weight" mode="assign" binding="same">
+            <const>medium</const>
+        </edit>
+    </match>
+    -->
+    <alias>
+        <family>Misc Gulim Wide</family>
+        <default>
+            <family>monospace</family>
+        </default>
+    </alias>
+    <!--
+    <match target="pattern">
+        <test qual="any" name="family">
+            <string>Misc Gulim Wide</string>
+        </test>
+        <test name="weight" compare="more">
+            <const>medium</const>
+        </test>
+        <edit name="weight" mode="assign" binding="same">
+            <const>medium</const>
+        </edit>
+    </match>
+    -->
+    <match>
+        <test compare="eq" name="family">
+            <string>sans-serif</string>
+        </test>
+        <test compare="eq" name="family">
+            <string>monospace</string>
+        </test>
+        <edit mode="delete" name="family"/>
+    </match>
+    <match>
+        <test compare="eq" name="family">
+            <string>serif</string>
+        </test>
+        <test compare="eq" name="family">
+            <string>monospace</string>
+        </test>
+        <edit mode="delete" name="family"/>
+    </match>
+    <alias>
+        <family>sans-serif</family>
+        <prefer>
+            <family>Source Sans Pro</family>
+            <family>Source Han Sans CN</family>
+            <family>Source Han Sans JP</family>
+            <family>Source Han Sans KR</family>
+            <family>IPA Pゴシック</family>
+            <family>IPAGothic</family>
+            <family>백묵 돋움</family>
+            <family>Bakemuk Dotum</family>
+            <family>DejaVu Sans</family>
+            <family>Droid Sans</family>
+            <family>Noto Sans</family>
+        </prefer>
+    </alias>
+    <alias>
+        <family>serif</family>
+        <prefer>
+            <family>Source Serif Pro</family>
+            <family>Source Han Sans CN</family>
+            <family>Source Han Sans JP</family>
+            <family>Source Han Sans KR</family>
+            <family>IPA明朝</family>
+            <family>IPAMincho</family>
+            <family>백묵 돋움</family>
+            <family>Bakemuk Dotum</family>
+            <family>DejaVu Serif</family>
+            <family>Droid Serif</family>
+            <family>Noto Serif</family>
+        </prefer>
+    </alias>
+    <alias>
+        <family>monospace</family>
+        <prefer>
+            <family>Source Code Pro</family>
+            <family>IPA Pゴシック</family>
+            <family>IPAGothic</family>
+            <family>백묵 돋움</family>
+            <family>Bakemuk Dotum</family>
+            <family>DejaVu Sans Mono</family>
+            <family>Droid Mono</family>
+            <family>Noto Mono</family>
+        </prefer>
+    </alias>
+    <match>
+        <test name="family">
+            <string>UW Ttyp0</string>
+        </test>
+        <edit mode="prepend" name="family">
+            <string>Efont Biwidth</string>
+            <string>Efont Fixed</string>
+            <string>Bakemuk Gulim</string>
+            <string>Bakemuk Batang</string>
+        </edit>
+    </match>
+</fontconfig>

Consider giving Nix/NixOS a try! <3