- Added split-cidfnmap patch (bug #194592).

- Resolves: rhbz#194592
This commit is contained in:
Tim Waugh 2006-12-05 16:45:13 +00:00
parent c3e94a436a
commit d0ee4600a1
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,23 @@
--- espgs-8.15.2/lib/cjkv/cjkfnmap.ps.split-cidfnmap 2006-11-17 16:59:21.000000000 +0000
+++ espgs-8.15.2/lib/cjkv/cjkfnmap.ps 2006-11-17 17:03:39.000000000 +0000
@@ -75,10 +75,17 @@
% stack: dict file cidfontname filename|aliasname
1 index type /stringtype eq
1 index type /nametype eq and 1 index xcheck and
- 1 index /run eq 2 index /.runlibfile eq or and {
+ 1 index /run eq 2 index /.runlibfile eq 3 index /.runlibfileifexists eq or or and {
% This is an inclusion entry.
- pop findlibfile { exch pop } { file } ifelse
- 2 index exch .cjkv_readCIDFontmap pop
+ 0 index /.runlibfileifexists eq {
+ pop findlibfile {
+ exch pop
+ 2 index exch .cjkv_readCIDFontmap pop
+ } { pop } ifelse
+ } {
+ pop findlibfile { exch pop } { file } ifelse
+ 2 index exch .cjkv_readCIDFontmap pop
+ } ifelse
} {
exch dup type /stringtype eq {cvn} if exch
{ 2 index token not

View File

@ -18,6 +18,7 @@ Patch1: ghostscript-multilib.patch
Patch2: ghostscript-scripts.patch
Patch3: ghostscript-noopt.patch
Patch4: ghostscript-big-cmap-post.patch
Patch5: ghostscript-split-cidfnmap.patch
Requires: urw-fonts >= 1.1, ghostscript-fonts
BuildRequires: libjpeg-devel, libXt-devel
@ -83,6 +84,9 @@ A GTK-enabled version of Ghostscript, called 'gsx'.
# Support reading a big cmap/post table from a TrueType font.
%patch4 -p1 -b .big-cmap-post
# Support CIDFnmap inclusion from other files (bug #194592).
%patch5 -p1 -b .split-cidfnmap
# Convert manual pages to UTF-8
from8859_1() {
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
@ -237,6 +241,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libijs.*a
%changelog
* Tue Dec 5 2006 Tim Waugh <twaugh@redhat.com>
- Added split-cidfnmap patch (bug #194592).
* Thu Nov 16 2006 Tim Waugh <twaugh@redhat.com> 8.15.3-2
- 8.15.3. No longer need gtk2, ps2epsi, badc, pagesize,
use-external-freetype, split-font-configuration or cjkv patches.