6668266 fonts.conf needs to be updated for Chinese Unifonts arphic(uming, ukai) fonts
authorAlan Coopersmith <Alan.Coopersmith@Sun.COM>
Wed, 27 Feb 2008 19:45:38 -0800
changeset 338 c24d5b47ebad
parent 337 4d1a5dcaada1
child 339 e42fc768c6ee
6668266 fonts.conf needs to be updated for Chinese Unifonts arphic(uming, ukai) fonts
open-src/lib/fontconfig/fix-fonts.conf.pl
open-src/lib/fontconfig/fonts.conf.append
--- a/open-src/lib/fontconfig/fix-fonts.conf.pl	Wed Feb 27 16:49:21 2008 -0800
+++ b/open-src/lib/fontconfig/fix-fonts.conf.pl	Wed Feb 27 19:45:38 2008 -0800
@@ -28,7 +28,7 @@
 # or other dealings in this Software without prior written authorization
 # of the copyright holder.
 #
-# ident	"@(#)fix-fonts.conf.pl	1.9	08/02/21 SMI"
+# ident	"@(#)fix-fonts.conf.pl	1.10	08/02/27 SMI"
 #
 # This script performs a number of customizations to the fonts.conf shipped
 # with Solaris, including:
@@ -125,6 +125,7 @@
     print_substitute_line($line, 'Kochi Mincho', 'FZMingTi');
     print_substitute_line($line, 'Kochi Mincho', 'KacstQurn');
     print_substitute_line($line, 'Kochi Mincho', 'SunDotum');
+    print_substitute_line($line, 'Kochi Mincho', 'AR PL ShanHeiSun Uni');
     $kochifontsreplaced++;
     next;
   }
@@ -147,6 +148,7 @@
     print_substitute_line($line, 'Kochi Gothic', 'KacstQurn');
     if ($aliasfamily ne "monospace") {
       print_substitute_line($line, 'Kochi Gothic', 'SunDotum');
+      print_substitute_line($line, 'Kochi Gothic', 'AR PL ZenKai Uni');
     } else {
       print_substitute_line($line, 'Kochi Gothic', 'SunDotumChe');
     }
--- a/open-src/lib/fontconfig/fonts.conf.append	Wed Feb 27 16:49:21 2008 -0800
+++ b/open-src/lib/fontconfig/fonts.conf.append	Wed Feb 27 19:45:38 2008 -0800
@@ -7,6 +7,23 @@
 		<bool>true</bool>
 	</test>
 	<test name="family">
+		<string>AR PL ShanHeiSun Uni</string>
+	</test>
+	<test name="pixelsize" compare="more_eq">
+		<double>11</double>
+	</test>
+	<test name="pixelsize" compare="less">
+		<double>16</double>
+	</test>
+	<edit name="antialias" mode="assign">
+		<bool>false</bool>
+	</edit>
+</match>
+<match target="font">
+	<test name="prefer_bitmap">
+		<bool>true</bool>
+	</test>
+	<test name="family">
 		<string>FZSongTi</string>
 		<string>FZMingTi</string>
 	</test>