rpms/cjkuni-fonts/devel cjkuni-fonts-uming-use-latin.patch, NONE, 1.1 cjkuni-fonts.spec, 1.16, 1.17

Huang Peng phuang at fedoraproject.org
Wed Nov 11 04:19:34 UTC 2009


Author: phuang

Update of /cvs/pkgs/rpms/cjkuni-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4802

Modified Files:
	cjkuni-fonts.spec 
Added Files:
	cjkuni-fonts-uming-use-latin.patch 
Log Message:
Use latin font to display common ascii in Chinese string

cjkuni-fonts-uming-use-latin.patch:
 64-ttf-arphic-uming.conf |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

--- NEW FILE cjkuni-fonts-uming-use-latin.patch ---
--- 64-ttf-arphic-uming.conf.origin	2009-10-20 15:34:29.062453906 +0800
+++ 64-ttf-arphic-uming.conf	2009-10-20 16:02:21.272888664 +0800
@@ -8,7 +8,9 @@
 		<test name="family">
 			<string>serif</string>
 		</test>
-		<edit name="family" mode="prepend" binding="same">
+		<edit name="family" mode="prepend" binding="strong">
+			<string>Bitstream Vera Serif</string>
+			<string>DejaVu Serif</string>
 			<string>AR PL UMing HK</string>
 			<string>AR PL UMing CN</string>
 		</edit>
@@ -20,7 +22,9 @@
 		<test name="family">
 			<string>sans-serif</string>
 		</test>
-		<edit name="family" mode="prepend" binding="same">
+		<edit name="family" mode="prepend" binding="strong">
+			<string>Bitstream Vera Sans</string>
+			<string>DejaVu Sans</string>
 			<string>AR PL UMing HK</string>
 			<string>AR PL UMing CN</string>
 		</edit>
@@ -32,7 +36,9 @@
 		<test name="family">
 			<string>monospace</string>
 		</test>
-		<edit name="family" mode="prepend" binding="same">
+		<edit name="family" mode="prepend" binding="strong">
+			<string>Bitstream Vera Sans Mono</string>
+			<string>DejaVu Sans Mono</string>
 			<string>AR PL UMing HK</string>
 			<string>AR PL UMing CN</string>
 		</edit>


Index: cjkuni-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cjkuni-fonts/devel/cjkuni-fonts.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- cjkuni-fonts.spec	4 Nov 2009 06:37:14 -0000	1.16
+++ cjkuni-fonts.spec	11 Nov 2009 04:19:33 -0000	1.17
@@ -23,7 +23,7 @@ the CJK Unifonts project.
 
 Name:        %{fontname}-fonts
 Version:     0.2.20080216.1
-Release:     30%{?dist}
+Release:     31%{?dist}
 Summary:     Chinese Unicode TrueType fonts in Ming and Kai face.
 License:     Arphic
 Group:       User Interface/X
@@ -35,6 +35,7 @@ Source3:    cjkuni-fonts-gscid-0.1.tgz
 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
+Patch4:     cjkuni-fonts-uming-use-latin.patch
 
 BuildRoot:        %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildArch:        noarch
@@ -159,6 +160,7 @@ CJK Unifonts compatibility files.
 %patch1 -p1 -b .1-rhbz466667
 %patch2 -p1 -b .2-rhbz475743
 %patch3 -p1 -b .3-rhbz459680
+%patch4 -p0 -b .4-use-latin
 %setup -q -c -T -a2 -n %{ukaibuilddir}
 %setup -q -c -T -a3 -n %{gsbuilddir}
 
@@ -248,6 +250,9 @@ cd ../
 %__rm -fr %{buildroot}
 
 %changelog
+* Wed Nov 11 2009 Peng Huang <shawn.p.huang at gmail.com> - 0.2.20080216.1-31
+- Use latin font to display common ascii in Chinese string 
+
 * Wed Nov  4 2009 Jens Petersen <petersen at redhat.com> - 0.2.20080216.1-30
 - drop bitmap fontconfig .conf for now (#459680)
 




More information about the fonts-bugs mailing list