summaryrefslogtreecommitdiff
path: root/system/CNS11643-font/35-CNS11643-font.conf
diff options
context:
space:
mode:
authorCCHsu <a12321aabb@gmail.com>2014-06-21 18:48:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-21 18:48:35 +0700
commitf41d295c6ecd25f258bd348dd9836f858a30e16f (patch)
treeaad64ed843b3d3f7640ab72955b3caad543da799 /system/CNS11643-font/35-CNS11643-font.conf
parent512a4223cd67034dfeca6440cf8cfe24bd109c81 (diff)
downloadslackbuilds-f41d295c6ecd25f258bd348dd9836f858a30e16f.tar.gz
system/CNS11643-font: Added (Chinese Ming and Kai font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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>