Author: cchance
Update of /cvs/pkgs/rpms/cjkuni-fonts/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9162
Modified Files: cjkuni-fonts.spec Added Files: cjkuni-fonts-0.2.20080216.1-19.patch Log Message: * Tue Feb 03 2009 Caius Chance <cchance at redhat.com> - 0.2.20080216.1-19.fc11 - Resolves: rhbz#459680 - Disabled antialias when pixelsize is smaller than 17.
cjkuni-fonts-0.2.20080216.1-19.patch:
--- NEW FILE cjkuni-fonts-0.2.20080216.1-19.patch --- diff -up cjkuni-uming-fonts-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf.3-rhbz459680 cjkuni-uming-fonts-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf --- cjkuni-uming-fonts-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf.3-rhbz459680 2009-02-03 09:53:25.000000000 +1000 +++ cjkuni-uming-fonts-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf 2009-02-03 09:56:12.000000000 +1000 @@ -2,14 +2,38 @@ <!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="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> + <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: cjkuni-fonts.spec =================================================================== RCS file: /cvs/pkgs/rpms/cjkuni-fonts/devel/cjkuni-fonts.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- cjkuni-fonts.spec 1 Feb 2009 23:15:49 -0000 1.3 +++ cjkuni-fonts.spec 3 Feb 2009 00:00:57 -0000 1.4 @@ -12,7 +12,7 @@
Name: %{fontname}-fonts Version: 0.2.20080216.1 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Chinese Unicode TrueType fonts in Ming and Kai face. License: Arphic Group: User Interface/X @@ -28,6 +28,7 @@ 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
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch @@ -132,6 +133,7 @@ %setup -q -c -T -a1 -n %{umingbuilddir} %patch1 -p1 -b .1-rhbz466667 %patch2 -p1 -b .2-rhbz475743 +%patch3 -p1 -b .3-rhbz459680 %setup -q -c -T -a2 -n %{ukaibuilddir}
%build @@ -194,6 +196,10 @@ %__rm -fr %{buildroot}
%changelog +* Tue Feb 03 2009 Caius Chance <cchance at redhat.com> - 0.2.20080216.1-19.fc11 +- Resolves: rhbz#459680 +- Disabled antialias when pixelsize is smaller than 17. + * Mon Feb 02 2009 Caius Chance <cchance at redhat.com> - 0.2.20080216.1-18.fc11 - Resolves: rhbz#475743 - Fixed Japanese fonts over-priorized by uming fonts in Japanese locale.
fonts-bugs@lists.fedoraproject.org