freebsd-ports/print/ghostscript-gnu-cjk/files/gs_res.ps.patch
Yoshio MITA 979ed31b76 Add ghostscript-gnu-cjk 6.52,
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>
2002-01-18 15:23:54 +00:00

28 lines
1,005 B
Diff

--- lib/gs_res.ps.orig Mon Jul 16 01:09:41 2001
+++ lib/gs_res.ps Sun Dec 23 02:14:03 2001
@@ -248,8 +248,8 @@
/pssystemparams 10 dict readonly def
} if
pssystemparams begin
- /FontResourceDir (/Resource/Font/) readonly .forcedef % pssys'params is r-o
- /GenericResourceDir (/Resource/) readonly .forcedef % pssys'params is r-o
+ /FontResourceDir (/usr/local/share/ghostscript/Resource/Font/) readonly .forcedef % pssys'params is r-o
+ /GenericResourceDir (/usr/local/share/ghostscript/Resource/) readonly .forcedef % pssys'params is r-o
/GenericResourcePathSep (/) readonly .forcedef % pssys'params is r-o
end
end
@@ -457,10 +457,10 @@
/.vmused {
% - .vmused <usedvalue>
% usedvalue = vmstatus in global + vmstatus in local.
- 0 2 {
- .currentglobal not .setglobal
- vmstatus pop exch pop add
- } repeat
+ 0 2 {
+ .currentglobal not .setglobal
+ vmstatus pop exch pop add
+ } repeat
} bind def
/.DoLoadResource {
% .LoadResource may push entries on the operand stack.