mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
979ed31b76
gNU Postscript interpreter CJK fonts adding port. This is a GNU version of ghostscript with features below: 1. CJK internationalization ready. 2. Depends on print/ghostscript-gnu and replace only necessary files. 3. -DA4 default as is standard in CJK countries. 4. Includes many additional printer drivers sold in japan. PR: ports/33116 Submitted by: Tomokatsu SAITO <saito@a2z.co.jp>
26 lines
964 B
Diff
26 lines
964 B
Diff
--- lib/gs_cidcm.ps.orig Sun Jul 1 17:57:04 2001
|
|
+++ lib/gs_cidcm.ps Sun Dec 23 02:05:48 2001
|
|
@@ -164,7 +164,21 @@
|
|
{ (r) file % CSIs /InstName g [ file
|
|
//GetCIDSystemInfoFromFile exec % CSIs /InstName g [ CSI
|
|
} stopped {
|
|
- cleartomark //.prs_empty
|
|
+ % Cannot find file from Resource directory
|
|
+ cleartomark
|
|
+ % Try to find file from CIDFontmap
|
|
+ % Stack: CSIs /InstName g
|
|
+ 1 index dup .CIDFontmapKnownget {
|
|
+ % Stack: CSIs /InstName g /InstName ValueInCIDFontmap
|
|
+ % We do look at CIDFontmap in global space.
|
|
+ % (When stopped, the space is set to local.)
|
|
+ true setglobal
|
|
+ 1 index 3 1 roll
|
|
+ .CIDFontmapRunHandler
|
|
+ /CIDFont findresource /CIDSystemInfo get
|
|
+ } {
|
|
+ pop //.prs_empty
|
|
+ } ifelse
|
|
} {
|
|
exch pop
|
|
} ifelse % CSIs /InstName g CSI
|