rpms/cjkunifonts/devel cjkunifonts.spec,1.11,1.12
by cchance
Author: cchance
Update of /cvs/pkgs/rpms/cjkunifonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30683
Modified Files:
cjkunifonts.spec
Log Message:
moved all .conf files to conf.avail and symlinked to conf.d
Index: cjkunifonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cjkunifonts/devel/cjkunifonts.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- cjkunifonts.spec 30 Sep 2008 04:57:39 -0000 1.11
+++ cjkunifonts.spec 30 Sep 2008 07:11:28 -0000 1.12
@@ -1,6 +1,7 @@
%define umingfontdir %{_datadir}/fonts/%{name}-uming
%define ukaifontdir %{_datadir}/fonts/%{name}-ukai
%define fcdir %{_sysconfdir}/fonts/conf.d
+%define fcdiravail %{_sysconfdir}/fonts/conf.avail
%define cidmapdir %{_datadir}/ghostscript/conf.d
%define catalogue %{_sysconfdir}/X11/fontpath.d
@@ -9,7 +10,7 @@
Name: cjkunifonts
Version: 0.2.20080216.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Chinese TrueType Fonts -- Simplified and Traditional Chinese Ming and Kai Face
License: Arphic
Group: User Interface/X
@@ -86,8 +87,17 @@
# fontconfig config files
install -d $RPM_BUILD_ROOT%{fcdir}
-install -m 0644 %{umingbuilddir}/*.conf $RPM_BUILD_ROOT%{fcdir}/
-install -m 0644 %{ukaibuilddir}/*.conf $RPM_BUILD_ROOT%{fcdir}/
+install -d $RPM_BUILD_ROOT%{fcdiravail}
+for conf in `ls %{umingbuilddir}/*-ttf-arphic-uming*.conf`
+do
+ install -m 0644 $conf $RPM_BUILD_ROOT%{fcdiravail}/
+ ln -s $conf $RPM_BUILD_ROOT%{fcdir}/
+done
+for conf in `ls %{ukaibuilddir}/*-ttf-arphic-ukai*.conf`
+do
+ install -m 0644 $conf $RPM_BUILD_ROOT%{fcdiravail}/
+ ln -s $conf $RPM_BUILD_ROOT%{fcdir}/
+done
# backward compat
install -d $RPM_BUILD_ROOT%{_datadir}/fonts/zh_CN/TrueType
@@ -157,7 +167,8 @@
%dir %{_datadir}/fonts/zh_CN/TrueType
%dir %{_datadir}/fonts/zh_TW/TrueType
%{umingfontdir}/*.ttc
-%{fcdir}/*-ttf-arphic-uming*.conf
+%{fcdiravail}/*-ttf-arphic-uming*.conf
+%verify(not md5 size mtime) %{fcdir}/*-ttf-arphic-uming*.conf
%{cidmapdir}/FAPIcidfmap.zh_TW
%{cidmapdir}/FAPIcidfmap.zh_CN
%{cidmapdir}/cidfmap.zh_TW
@@ -184,7 +195,8 @@
%doc %{ukaibuilddir}/TODO
%dir %{ukaifontdir}
%{ukaifontdir}/*.ttc
-%{fcdir}/*-ttf-arphic-ukai*.conf
+%{fcdiravail}/*-ttf-arphic-ukai*.conf
+%verify(not md5 size mtime) %{fcdir}/*-ttf-arphic-ukai*.conf
%{cidmapdir}/FAPIcidfmap.zh_TW
%{cidmapdir}/FAPIcidfmap.zh_CN
%{cidmapdir}/cidfmap.zh_TW
@@ -196,6 +208,10 @@
%{catalogue}/%{name}-ukai
%changelog
+* Mon Sep 30 2008 Caius Chance <cchance(a)redhat.com> - 0.2.20080216.1-4.fc10
+- Resolves: rhbz#459680 (All .conf files are in fonts.avail and soft linked to
+ fonts.d.)
+
* Mon Sep 30 2008 Caius Chance <cchance(a)redhat.com> - 0.2.20080216.1-3.fc10
- Resolves: rhbz#459680 (repatched)
15 years, 7 months
rpms/cjkunifonts/devel cjkunifonts.spec,1.10,1.11
by cchance
Author: cchance
Update of /cvs/pkgs/rpms/cjkunifonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13064
Modified Files:
cjkunifonts.spec
Log Message:
updated .spec for repatch
Index: cjkunifonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cjkunifonts/devel/cjkunifonts.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- cjkunifonts.spec 30 Sep 2008 04:04:34 -0000 1.10
+++ cjkunifonts.spec 30 Sep 2008 04:57:39 -0000 1.11
@@ -9,7 +9,7 @@
Name: cjkunifonts
Version: 0.2.20080216.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Chinese TrueType Fonts -- Simplified and Traditional Chinese Ming and Kai Face
License: Arphic
Group: User Interface/X
@@ -196,6 +196,9 @@
%{catalogue}/%{name}-ukai
%changelog
+* Mon Sep 30 2008 Caius Chance <cchance(a)redhat.com> - 0.2.20080216.1-3.fc10
+- Resolves: rhbz#459680 (repatched)
+
* Mon Sep 29 2008 Caius Chance <cchance(a)redhat.com> - 0.2.20080216.1-2.fc10
- Resolves: rhbz#459680 (qt/kde: font antialiasing was disabled by uming
fontconfig file.)
15 years, 8 months
rpms/cjkunifonts/devel cjkunifonts-0.2.20080216.1-2.patch, NONE, 1.1 cjkunifonts.spec, 1.9, 1.10 25-ttf-arphic-uming-bitmaps.conf, 1.1, NONE
by cchance
Author: cchance
Update of /cvs/pkgs/rpms/cjkunifonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4413
Modified Files:
cjkunifonts.spec
Added Files:
cjkunifonts-0.2.20080216.1-2.patch
Removed Files:
25-ttf-arphic-uming-bitmaps.conf
Log Message:
repatched with %patch working
cjkunifonts-0.2.20080216.1-2.patch:
--- NEW FILE cjkunifonts-0.2.20080216.1-2.patch ---
diff -up cjkunifonts-uming-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf.orig cjkunifonts-uming-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf
--- cjkunifonts-uming-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf.orig 2008-09-30 13:55:05.000000000 +1000
+++ cjkunifonts-uming-0.2.20080216.1/25-ttf-arphic-uming-bitmaps.conf 2008-09-30 13:55:29.000000000 +1000
@@ -9,21 +9,7 @@
<string>AR PL UMing TW</string>
<string>AR PL UMing TW MBE</string>
</test>
- <edit name="antialias"><bool>false</bool></edit>
- <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>
+ <edit name="hinting" mode="assign"><bool>false</bool></edit>
</match>
</fontconfig>
Index: cjkunifonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cjkunifonts/devel/cjkunifonts.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- cjkunifonts.spec 29 Sep 2008 22:35:50 -0000 1.9
+++ cjkunifonts.spec 30 Sep 2008 04:04:34 -0000 1.10
@@ -23,7 +23,7 @@
Source6: cidfmap.zh_CN
Source7: CIDFnmap.zh_TW
Source8: CIDFnmap.zh_CN
-Source9: 25-ttf-arphic-uming-bitmaps.conf
+Patch0: cjkunifonts-0.2.20080216.1-2.patch
BuildRequires: xorg-x11-font-utils, ttmkfdir
BuildArch: noarch
@@ -60,9 +60,8 @@
%prep
%setup -q -c -T -a1 -n %{name}-uming-%{version}
+%patch0 -p1 -b .1-rhbz459680
%setup -q -c -T -a2 -n %{name}-ukai-%{version}
-# .conf file for unhinting uming is too global power.
-%{__cp} %{SOURCE9} %{_builddir}/%{name}-uming-%{version}/
%build
%{nil}
--- 25-ttf-arphic-uming-bitmaps.conf DELETED ---
15 years, 8 months
[Bug 449356] Refactor gfxPangoFontGroup for user fonts
by Bugzilla@Mozilla
Do not reply to this email. You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=449356
--- Comment #4 from Karl Tomlinson (:karlt) <mozbugz(a)karlt.net> 2008-09-29 20:52:56 PDT ---
Created an attachment (id=341049)
--> (https://bugzilla.mozilla.org/attachment.cgi?id=341049)
font selection in Mozilla WIP 0.1.2
This is a basic implementation of a Mozilla-specific PangoFcFontMap, that
makes it possible for us to do our own font selection.
It doesn't make any attempt cache information to optimize speed. With this
patch, memory use (Tp RSS) drops from 108 to 82 MB (1:0.76), but the cost is
an increase in page load time (Tp) from 440 to 638 ms (0.69:1). This shows the
potential for memory savings by choosing what to cache carefully.
Roughly 7 MB of the 26 MB memory savings come from removal of the
gfxPangoFontCache (bug 428425 comment 5).
--
Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
15 years, 8 months