Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > bcad270e706b49dcd7d3b92dded440f2 > files > 26

ghostscript-8.15.2-9.12.el5_5.src.rpm

--- 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