[cjkuni-uming-fonts] update fontconf

Peng Wu pwu at fedoraproject.org
Tue Jul 10 07:22:51 UTC 2012


commit 148283af20c57a2d4b765d4af41fa31fb30793a1
Author: Peng Wu <alexepico at gmail.com>
Date:   Tue Jul 10 13:28:34 2012 +0800

    update fontconf

 cjkuni-uming-fonts-fontconfig.conf |   36 +++++++++++++++++++++++++++++++++---
 1 files changed, 33 insertions(+), 3 deletions(-)
---
diff --git a/cjkuni-uming-fonts-fontconfig.conf b/cjkuni-uming-fonts-fontconfig.conf
index ea40b40..24d7ce4 100644
--- a/cjkuni-uming-fonts-fontconfig.conf
+++ b/cjkuni-uming-fonts-fontconfig.conf
@@ -4,6 +4,16 @@
 	<match>
 		<test name="lang">
 			<string>zh-hk</string>
+		</test>
+		<test name="family">
+			<string>serif</string>
+		</test>
+		<edit name="family" mode="prepend">
+			<string>AR PL UMing HK</string>
+		</edit>
+	</match>
+	<match>
+		<test name="lang">
 			<string>zh-tw</string>
 		</test>
 		<test name="family">
@@ -11,9 +21,9 @@
 		</test>
 		<edit name="family" mode="prepend">
 			<string>AR PL UMing TW</string>
-			<string>AR PL UMing HK</string>
 		</edit>
 	</match>
+
     <alias>
         <family>AR PL UMing TW</family>
         <default>
@@ -30,6 +40,16 @@
 	<match>
 		<test name="lang">
 			<string>zh-hk</string>
+		</test>
+		<test name="family">
+			<string>sans-serif</string>
+		</test>
+		<edit name="family" mode="prepend">
+			<string>AR PL UMing HK</string>
+		</edit>
+	</match>
+	<match>
+		<test name="lang">
 			<string>zh-tw</string>
 		</test>
 		<test name="family">
@@ -37,9 +57,9 @@
 		</test>
 		<edit name="family" mode="prepend">
 			<string>AR PL UMing TW</string>
-			<string>AR PL UMing HK</string>
 		</edit>
 	</match>
+
     <alias>
         <family>AR PL UMing TW</family>
         <default>
@@ -56,6 +76,16 @@
 	<match>
 		<test name="lang">
 			<string>zh-hk</string>
+		</test>
+		<test name="family">
+			<string>monospace</string>
+		</test>
+		<edit name="family" mode="prepend">
+			<string>AR PL UMing HK</string>
+		</edit>
+	</match>
+	<match>
+		<test name="lang">
 			<string>zh-tw</string>
 		</test>
 		<test name="family">
@@ -63,9 +93,9 @@
 		</test>
 		<edit name="family" mode="prepend">
 			<string>AR PL UMing TW</string>
-			<string>AR PL UMing HK</string>
 		</edit>
 	</match>
+
     <alias>
         <family>AR PL UMing TW</family>
         <default>


More information about the scm-commits mailing list