summaryrefslogtreecommitdiff
path: root/system/CNS11643-font/35-CNS11643-font.conf
diff options
context:
space:
mode:
Diffstat (limited to 'system/CNS11643-font/35-CNS11643-font.conf')
-rw-r--r--system/CNS11643-font/35-CNS11643-font.conf113
1 files changed, 113 insertions, 0 deletions
diff --git a/system/CNS11643-font/35-CNS11643-font.conf b/system/CNS11643-font/35-CNS11643-font.conf
new file mode 100644
index 0000000000..9a7c7ddea6
--- /dev/null
+++ b/system/CNS11643-font/35-CNS11643-font.conf
@@ -0,0 +1,113 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- TW-Kai and TW-Sung Configure File -->
+<fontconfig>
+ <match target="font">
+ <test qual="any" name="family">
+ <string>TW-Sung</string>
+ </test>
+ <test qual="any" name="family">
+ <string>全字庫正宋體</string>
+ </test>
+ <test qual="any" name="family">
+ <string>TW-Sung-Plus</string>
+ </test>
+ <test qual="any" name="family">
+ <string>全字庫正宋體 Plus</string>
+ </test>
+ <test qual="any" name="family">
+ <string>TW-Sung-Ext-B</string>
+ </test>
+ <test qual="any" name="family">
+ <string>全字庫正宋體 Ext-B</string>
+ </test>
+ <test qual="any" name="family">
+ <string>TW-Kai</string>
+ </test>
+ <test qual="any" name="family">
+ <string>全字庫正楷體</string>
+ </test>
+ <test qual="any" name="family">
+ <string>TW-Kai-Plus</string>
+ </test>
+ <test qual="any" name="family">
+ <string>全字庫正楷體 Plus</string>
+ </test>
+ <test qual="any" name="family">
+ <string>TW-Kai-Ext-B</string>
+ </test>
+ <test qual="any" name="family">
+ <string>全字庫正楷體 Ext-B</string>
+ </test>
+ </match>
+ <match target="pattern">
+ <test name="family" compare="eq">
+ <string>TW-Sung</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>DejaVu Serif</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family" compare="eq">
+ <string>TW-Kai</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>DejaVu Sans Light</string>
+ </edit>
+ </match>
+ <alias>
+ <family>TW-Sung</family>
+ <prefer>
+ <family>DejaVu Serif:book</family>
+ <family>Liberation Sans</family>
+ <family>Bitstream Vera Serif</family>
+ <family>TW-Sung</family>
+ <family>TW-Sung-Plus</family>
+ <family>TW-Sung-Ext-B</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>TW-Kai</family>
+ <prefer>
+ <family>DejaVu Sans Light:book</family>
+ <family>Bitstream Vera Sans</family>
+ <family>TW-Kai</family>
+ <family>TW-Kai-Plus</family>
+ <family>TW-Kai-Ext-B</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>DejaVu Serif:book</family>
+ <family>Liberation Serif</family>
+ <family>Bitstream Vera Serif</family>
+ <family>TW-Sung</family>
+ <family>TW-Sung-Plus</family>
+ <family>TW-Sung-Ext-B</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>sans</family>
+ <prefer>
+ <family>DejaVu Sans Light:book</family>
+ <family>Liberation Sans</family>
+ <family>Bitstream Vera Sans</family>
+ <family>TW-Kai</family>
+ <family>TW-Kai-Plus</family>
+ <family>TW-Kai-Ext-B</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>DejaVu Sans Mono</family>
+ <family>Liberation Sans Mono</family>
+ <family>Bitstream Vera Sans Mono</family>
+ <family>TW-Sung</family>
+ <family>TW-Sung-Plus</family>
+ <family>TW-Sung-Ext-B</family>
+ </prefer>
+ </alias>
+</fontconfig>