rpms/cjkunifonts/F-10 cjkuni-fonts-0.2.20080216.1-18.patch, NONE, 1.1 cjkuni-fonts-0.2.20080216.1-19.patch, NONE, 1.1 cjkunifonts.spec, 1.23, 1.24

Caius Chance cchance at fedoraproject.org
Wed Feb 25 04:02:30 UTC 2009


Author: cchance

Update of /cvs/pkgs/rpms/cjkunifonts/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28895

Modified Files:
	cjkunifonts.spec 
Added Files:
	cjkuni-fonts-0.2.20080216.1-18.patch 
	cjkuni-fonts-0.2.20080216.1-19.patch 
Log Message:
* Wed Feb 25 2009 Caius Chance <cchance at redhat.com> - 0.2.20080216.1-11.fc10
- Resolves: rhbz#475743, rhbz#459680
- Fixed Japanese fonts over-priorized by uming fonts in Japanese locale.
- Disabled antialias when pixelsize is smaller than 17.



cjkuni-fonts-0.2.20080216.1-18.patch:

--- NEW FILE cjkuni-fonts-0.2.20080216.1-18.patch ---
diff -up cjkunifonts-uming-0.2.20080216.1/64-ttf-arphic-uming.conf.orig cjkunifonts-uming-0.2.20080216.1/64-ttf-arphic-uming.conf
--- cjkunifonts-uming-0.2.20080216.1/64-ttf-arphic-uming.conf.orig	2009-02-25 13:45:32.000000000 +1000
+++ cjkunifonts-uming-0.2.20080216.1/64-ttf-arphic-uming.conf	2009-02-25 13:46:31.000000000 +1000
@@ -1,25 +1,40 @@
 <?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <fontconfig>
-	<alias>
-		<family>serif</family>
-		<prefer>
-			<family>AR PL UMing HK</family>
-			<family>AR PL UMing CN</family>
-		</prefer>
-	</alias>
-	<alias>
-		<family>sans-serif</family>
-		<prefer>
-			<family>AR PL UMing HK</family>
-			<family>AR PL UMing CN</family>
-		</prefer>
-	</alias>
-	<alias>
-		<family>monospace</family>
-		<prefer>
-			<family>AR PL UMing HK</family>
-			<family>AR PL UMing CN</family>
-		</prefer>
-	</alias>
+       <match>
+               <test name="lang" compare="contains">
+                       <string>zh</string>
+               </test>
+               <test name="family">
+                       <string>serif</string>
+               </test>
+               <edit name="family" mode="prepend" binding="same">
+                       <string>AR PL UMing HK</string>
+                       <string>AR PL UMing CN</string>
+               </edit>
+       </match>
+       <match>
+               <test name="lang" compare="contains">
+                       <string>zh</string>
+               </test>
+               <test name="family">
+                       <string>sans-serif</string>
+               </test>
+               <edit name="family" mode="prepend" binding="same">
+                       <string>AR PL UMing HK</string>
+                       <string>AR PL UMing CN</string>
+               </edit>
+       </match>
+       <match>
+               <test name="lang" compare="contains">
+                       <string>zh</string>
+               </test>
+               <test name="family">
+                       <string>monospace</string>
+               </test>
+               <edit name="family" mode="prepend" binding="same">
+                       <string>AR PL UMing HK</string>
+                       <string>AR PL UMing CN</string>
+               </edit>
+       </match>
 </fontconfig>

cjkuni-fonts-0.2.20080216.1-19.patch:

--- NEW FILE cjkuni-fonts-0.2.20080216.1-19.patch ---
diff -up cjkunifonts-uming-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf.19 cjkunifonts-uming-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf
--- cjkunifonts-uming-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf.19	2009-02-25 13:48:06.000000000 +1000
+++ cjkunifonts-uming-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf	2009-02-25 13:48:32.000000000 +1000
@@ -1,15 +1,37 @@
 <?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <fontconfig>
+  <match target="font">
+    <test name="family">
+      <string>AR PL UMing CN</string>
+      <string>AR PL UMing HK</string>
+      <string>AR PL UMing TW</string>
+      <string>AR PL UMing TW MBE</string>
+    </test>
+    <edit name="autohint"><bool>false</bool></edit>
+  </match>
 
-	<match target="font">
-	  <test name="family">
-	  <string>AR PL UMing CN</string>
-	  <string>AR PL UMing HK</string>
-	  <string>AR PL UMing TW</string>
-	  <string>AR PL UMing TW MBE</string>
-	  </test>
-    	  <edit name="hinting"><bool>true</bool></edit>
-          <edit name="autohint"><bool>false</bool></edit>
-	</match>
+  <match target="font">
+    <test name="family">
+      <string>AR PL UMing CN</string>
+      <string>AR PL UMing HK</string>
+      <string>AR PL UMing TW</string>
+      <string>AR PL UMing TW MBE</string>
+    </test>
+    <test name="pixelsize" compare="more_eq"><int>17</int></test>
+    <edit name="antialias" mode="assign"><bool>true</bool></edit>
+    <edit name="hinting" mode="assign"><bool>true</bool></edit>
+  </match>
+
+  <match target="font">
+    <test name="family">
+      <string>AR PL UMing CN</string>
+      <string>AR PL UMing HK</string>
+      <string>AR PL UMing TW</string>
+      <string>AR PL UMing TW MBE</string>
+    </test>
+    <test name="pixelsize" compare="less"><int>17</int></test>
+    <edit name="antialias" mode="assign"><bool>false</bool></edit>
+    <edit name="hinting" mode="assign"><bool>false</bool></edit>
+  </match>
 </fontconfig>


Index: cjkunifonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cjkunifonts/F-10/cjkunifonts.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- cjkunifonts.spec	7 Dec 2008 09:08:43 -0000	1.23
+++ cjkunifonts.spec	25 Feb 2009 04:01:59 -0000	1.24
@@ -9,7 +9,7 @@
 
 Name:        cjkunifonts
 Version:     0.2.20080216.1
-Release:     10.fc10
+Release:     11.fc10
 Summary:     Chinese TrueType Fonts -- Simplified and Traditional Chinese Ming and Kai Face
 License:     Arphic
 Group:       User Interface/X
@@ -24,6 +24,9 @@
 Source7:    CIDFnmap.zh_TW
 Source8:    CIDFnmap.zh_CN
 Patch1:     cjkunifonts-0.2.20080216.1-2.patch
+Patch2:     cjkuni-fonts-0.2.20080216.1-18.patch
+Patch3:     cjkuni-fonts-0.2.20080216.1-19.patch
+
 
 BuildRequires:    xorg-x11-font-utils, ttmkfdir
 BuildArch:        noarch
@@ -61,6 +64,8 @@
 %prep
 %setup -q -c -T -a1 -n %{name}-uming-%{version}
 %patch1 -p1 -b .1-rhbz466667
+%patch2 -p1 -b .1-rhbz475743
+%patch3 -p1 -b .1-rhbz459680
 %setup -q -c -T -a2 -n %{name}-ukai-%{version}
 
 %build
@@ -198,6 +203,11 @@
 %{catalogue}/%{name}-ukai
 
 %changelog
+* Wed Feb 25 2009 Caius Chance <cchance at redhat.com> - 0.2.20080216.1-11.fc10
+- Resolves: rhbz#475743, rhbz#459680
+- Fixed Japanese fonts over-priorized by uming fonts in Japanese locale.
+- Disabled antialias when pixelsize is smaller than 17.
+
 * Sun Dec  7 2008 Behdad Esfahbod <besfahbo at redhat.com> - 0.2.20080216.1-10.fc10
 - Don't umask before fc-cache.
 - Add -f to fc-cache.




More information about the fedora-extras-commits mailing list