Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 149801 Details for
Bug 231577
Cannot use Chinese fonts on Java application with JRE (porting el5 => fc6)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch of symlinks for JRE required fonts,
fonts-chinese.spec.bz231577 (text/plain), 7.62 KB, created by
Caius Chance
on 2007-03-12 01:08:15 UTC
(
hide
)
Description:
Patch of symlinks for JRE required fonts,
Filename:
MIME Type:
Creator:
Caius Chance
Created:
2007-03-12 01:08:15 UTC
Size:
7.62 KB
patch
obsolete
>--- ./fonts-chinese.spec.bz231577 2007-03-12 11:06:42.000000000 +1000 >+++ ./fonts-chinese.spec 2007-03-12 11:06:23.000000000 +1000 >@@ -0,0 +1,209 @@ >+%define basefontdir %{_datadir}/fonts/chinese >+%define ttfontdir %{basefontdir}/TrueType >+%define miscfontdir %{basefontdir}/misc >+%define cidmapdir %{_sysconfdir}/ghostscript >+ >+%define ver 0.1 >+%define minor 20060513 >+%define rhpatch rh20060829a >+%define taipeiver 1.2 >+ >+Summary: Chinese TrueType Font -- Simplified and Traditional Chinese Ming and Kai Face. >+Name: fonts-chinese >+Version: 3.02 >+Release: 8%{?dist} >+License: Arphic Public License (GPL-like) >+Group: User Interface/X >+BuildArch: noarch >+BuildRoot: %{_tmppath}/%{name}-%{version}-root >+ >+#Source: http://apt.debian.org.tw/pool/t/ttf-arphic-uming/ttf-arphic-uming_%{ver}-%{beta}.tar.gz >+#Source1: http://apt.debian.org.tw/pool/t/ttf-arphic-ukai/ttf-arphic-ukai_%{ver}-%{beta}.tar.gz >+Source2: taipeifonts-%{taipeiver}.tar.gz >+Source3: ttf-arphic-uming_%{ver}.%{minor}.%{rhpatch}.tar.gz >+Source4: ttf-arphic-ukai_%{ver}.%{minor}.%{rhpatch}.tar.gz >+Source9: taipeifonts.alias >+Source10: arphicpl.txt >+Source11: arphicpl-big5.txt >+Source12: arphicpl-gb.txt >+Source13: arphic-release.txt >+Source20: FAPIcidfmap.zh_TW >+Source21: FAPIcidfmap.zh_CN >+Source22: cidfmap.zh_TW >+Source23: cidfmap.zh_CN >+ >+Requires(post): ttmkfdir >= 3.0.6, mkfontdir, fontconfig, /usr/sbin/chkfontpath >+Requires(postun): fontconfig, /usr/sbin/chkfontpath >+Obsoletes: ttfonts-zh_CN ttfonts-zh_TW ttf-moe_sung ttf-moe_kai ttf-arphic_bming ttf-arphic_bkai taipeifonts >+ >+%description >+Chinese TTF Fonts donated by Arphic company, with additional Hong Kong characters by Hong Kong font project and bitmap by F >+irefly. Read license files for details. >+ >+%prep >+tar xzvf %{SOURCE3} >+tar xzvf %{SOURCE4} >+tar xzvf %{SOURCE2} >+ >+%build >+mkdir -p %{name}-%{version}/doc >+pushd taipeifonts-%{taipeiver}/ >+bdftopcf taipei24.bdf | gzip -c > taipei24.pcf.gz >+bdftopcf taipei20.bdf | gzip -c > taipei20.pcf.gz >+bdftopcf taipei16.bdf | gzip -c > taipei16.pcf.gz >+popd >+ >+%install >+rm -rf $RPM_BUILD_ROOT >+ >+install -d $RPM_BUILD_ROOT%{ttfontdir} >+install -d $RPM_BUILD_ROOT%{miscfontdir} >+install -d $RPM_BUILD_ROOT%{_datadir}/fonts/zh_CN/TrueType >+install -d $RPM_BUILD_ROOT%{_datadir}/fonts/zh_TW/TrueType >+install -m 0644 ttf-arphic-ukai-%{ver}.%{minor}/ukai.ttf $RPM_BUILD_ROOT%{ttfontdir}/ >+install -m 0644 ttf-arphic-uming-%{ver}.%{minor}/uming.ttf $RPM_BUILD_ROOT%{ttfontdir}/ >+install -m 644 taipeifonts-%{taipeiver}/taipei24.pcf.gz $RPM_BUILD_ROOT%{miscfontdir} >+install -m 644 taipeifonts-%{taipeiver}/taipei20.pcf.gz $RPM_BUILD_ROOT%{miscfontdir} >+install -m 644 taipeifonts-%{taipeiver}/taipei16.pcf.gz $RPM_BUILD_ROOT%{miscfontdir} >+install -m 644 taipeifonts-%{taipeiver}/vga12x24.pcf.gz $RPM_BUILD_ROOT%{miscfontdir} >+install -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{miscfontdir}/fonts.alias >+ >+ >+# for ghostscript >+install -d $RPM_BUILD_ROOT%{cidmapdir}/ >+install -m 0644 %{SOURCE20} $RPM_BUILD_ROOT%{cidmapdir}/ >+install -m 0644 %{SOURCE21} $RPM_BUILD_ROOT%{cidmapdir}/ >+install -m 0644 %{SOURCE22} $RPM_BUILD_ROOT%{cidmapdir}/ >+install -m 0644 %{SOURCE23} $RPM_BUILD_ROOT%{cidmapdir}/ >+ >+cp %{SOURCE10} %{SOURCE11} %{SOURCE12} $RPM_BUILD_DIR/%{name}-%{version}/doc/ >+cp %{SOURCE13} $RPM_BUILD_DIR/%{name}-%{version}/doc/release.txt >+ >+# for dummy >+touch $RPM_BUILD_ROOT%{basefontdir}/fonts.cache-1 >+touch $RPM_BUILD_ROOT%{ttfontdir}/fonts.cache-1 >+touch $RPM_BUILD_ROOT%{ttfontdir}/fonts.dir >+touch $RPM_BUILD_ROOT%{ttfontdir}/fonts.scale >+touch $RPM_BUILD_ROOT%{miscfontdir}/fonts.cache-1 >+touch $RPM_BUILD_ROOT%{miscfontdir}/fonts.dir >+touch $RPM_BUILD_ROOT%{miscfontdir}/fonts.scale >+touch $RPM_BUILD_ROOT%{_datadir}/fonts/zh_CN/TrueType/zysong.ttf >+touch $RPM_BUILD_ROOT%{_datadir}/fonts/zh_TW/TrueType/bsmi00lp.ttf >+ >+%clean >+rm -rf $RPM_BUILD_ROOT >+ >+%post >+{ >+ umask 133 >+ >+ for tmpfontdir in %{ttfontdir} %{miscfontdir} >+ do >+ touch $tmpfontdir 2> /dev/null && { >+ /usr/bin/ttmkfdir -d $tmpfontdir -o $tmpfontdir/fonts.scale >+ mkfontdir $tmpfontdir >+ /usr/sbin/chkfontpath -q -a $tmpfontdir >+ } >+ done >+ #Update fontconfig cache >+ [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache 2> /dev/null >+ >+ #Make symlinks for Java referring to old path and fonts >+ ln -sf ../../chinese/TrueType/uming.ttf %{_datadir}/fonts/zh_CN/TrueType/zysong.ttf || : >+ ln -sf ../../chinese/TrueType/uming.ttf %{_datadir}/fonts/zh_TW/TrueType/bsmi00lp.ttf || : >+} >+ >+%postun >+if [ "$1" = 0 ]; >+then >+ umask 133 >+ /usr/sbin/chkfontpath -q -r %{ttfontdir} >+ /usr/sbin/chkfontpath -q -r %{miscfontdir} >+ >+ #Update fontconfig cache >+ [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache 2> /dev/null >+fi >+ >+%files >+%defattr(-, root, root) >+%doc $RPM_BUILD_DIR/%{name}-%{version}/doc/ >+%dir %{basefontdir} >+%dir %{ttfontdir} >+%dir %{miscfontdir} >+%dir %{cidmapdir} >+%{ttfontdir} >+%{miscfontdir} >+%ghost %verify(not md5 size mtime) %{basefontdir}/fonts.cache-1 >+%ghost %verify(not md5 size mtime) %{ttfontdir}/fonts.cache-1 >+%ghost %verify(not md5 size mtime) %{ttfontdir}/fonts.dir >+%ghost %verify(not md5 size mtime) %{ttfontdir}/fonts.scale >+%ghost %verify(not md5 size mtime) %{miscfontdir}/fonts.dir >+%ghost %verify(not md5 size mtime) %{miscfontdir}/fonts.scale >+%ghost %verify(not md5 size mtime) %{miscfontdir}/fonts.cache-1 >+%ghost %verify(not md5 size mtime) %{_datadir}/fonts/zh_CN/TrueType/zysong.ttf >+%ghost %verify(not md5 size mtime) %{_datadir}/fonts/zh_TW/TrueType/bsmi00lp.ttf >+%{cidmapdir}/FAPIcidfmap.zh_TW >+%{cidmapdir}/FAPIcidfmap.zh_CN >+%{cidmapdir}/cidfmap.zh_TW >+%{cidmapdir}/cidfmap.zh_CN >+ >+%changelog >+* Mon Mar 12 2007 Caius Chance <cchance@redhat.com> - 3.02-8.fc6 >+- Fixed bz#231577: Cannot use Chinese fonts on Java application with JRE >+ (porting el5 => fc6) >+ >+* Wed Sep 06 2006 Caius Chance <cchance@redhat.com> - 3.02-7.fc6 >+- fonts-chinese's postinstall has mistake(fonts-chinese-3.02-4.1) >+ >+* Tue Aug 29 2006 Caius Chance <cchance@redhat.com> - 3.02-6.fc6 >+- updated arphic uming and ukai fonts, re-patched with bz#197207. >+ >+* Wed Aug 23 2006 Caius Chance <cchance@redhat.com> - 3.02-5 >+- fix bz#197207 - cutting of ")" glyph in uming.ttf >+ >+* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.02-4.1.1 >+- rebuild >+ >+* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> >+- rebuilt >+ >+* Thu Nov 17 2005 Warren Togami <wtogami@redhat.com> - 3.02-4 >+- req(foo,bar) syntax breaks erasure ordering >+ >+* Tue Nov 15 2005 Jeremy Katz <katzj@redhat.com> - 3.02-3 >+- fix mkfontdir call >+ >+* Tue Nov 15 2005 Warren Togami <wtogami@redhat.com> - 3.02-2 >+- use less fragile way to call mkfontdir >+ >+* Tue Nov 15 2005 Leon Ho <llch@redhat.com> - 3.02-1 >+- migrate taipeifonts to this package >+ >+* Mon Nov 14 2005 Warren Togami <wtogami@redhat.com> - 3.01-3 >+- rebuild against modular X >+ >+* Wed Nov 09 2005 Leon Ho <llch@redhat.com> - 3.01-2 >+- updated to use which to search for mkfontdir >+- update to Requires: mkfontdir. >+ >+* Mon Nov 07 2005 Leon Ho <llch@redhat.com> - 3.01-1 >+- update uming and ukai to 0.1-0.dot.3 >+ >+* Fri Sep 02 2005 Leon Ho <llch@redhat.com> - 3.00.pre2-1 >+- Upgrade to pre2 fonts >+ >+* Thu Aug 17 2005 Leon Ho <llch@redhat.com> - 3.00.pre1-1 >+- Move to uMing and uKai with HKSCS and Bitmap glyphs >+- combined FAPIcidfmap.{zh_TW,zh_CN} into FAPIcidfmap.zh >+ >+* Tue Aug 16 2005 Akira TAGOH <tagoh@redhat.com> - 2.15-4 >+- Added cidfmap.zh_CN and cidfmap.zh_TW for the latest ghostscript. >+ >+* Thu Jul 14 2005 Akira TAGOH <tagoh@redhat.com> - 2.15-3 >+- use FAPIcidfmap instead of CIDFnmap for gs8. >+ >+* Wed Apr 20 2005 Akira TAGOH <tagoh@redhat.com> - 2.15-2 >+- Updated the font path in CIDFnmap.{zh_CN,zh_TW} (John Thacker, #155404) >+ >+* Thu Feb 24 2004 Leon Ho <llch@redhat.com> >+- merge from ttfonts-zh_CN and ttfonts-zh_TW
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231577
: 149801