[gs-cvs] rev 8111 - trunk/gs/lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Fri Jul 6 09:42:18 PDT 2007
Author: alexcher
Date: 2007-07-06 09:42:18 -0700 (Fri, 06 Jul 2007)
New Revision: 8111
Modified:
trunk/gs/lib/gs_dps2.ps
trunk/gs/lib/gs_ll3.ps
Log:
Explicitly bind setscreen, setcolorscreen, and sethalftone pseudo-operators.
When a pseudo-operator is redefined several times, the last definition is
bound in a final sweep over the systemdict but other definitions aren't.
Bug 689254, customer 661.
DIFFERENCES:
None
Modified: trunk/gs/lib/gs_dps2.ps
===================================================================
--- trunk/gs/lib/gs_dps2.ps 2007-07-06 12:18:01 UTC (rev 8110)
+++ trunk/gs/lib/gs_dps2.ps 2007-07-06 16:42:18 UTC (rev 8111)
@@ -129,7 +129,7 @@
} if
exec exec
.setglobal pop
-} odef
+} .bind odef
% Redefine setscreen and setcolorscreen to recognize halftone dictionaries,
% and to insert the Frequency and Angle into Type 1 halftones, per
% Adobe TN 5085.
@@ -148,13 +148,13 @@
{ .fixsethalftonescreen sethalftone pop pop pop }
{ //setscreen }
ifelse
- } odef
+ } .bind odef
/setcolorscreen % <ignore*11> <dict> setcolorscreen -
{ dup type /dicttype eq
{ .fixsethalftonescreen sethalftone 12 { pop } repeat }
{ //setcolorscreen }
ifelse
- } odef
+ } .bind odef
% Redefine currentscreen and currentcolorscreen to extract the Frequency
% and Angle from Type 1 halftones, per Adobe TN 5085.
/.fixcurrenthalftonescreen % <dict> .fix... <freq> <angle> <proc>
Modified: trunk/gs/lib/gs_ll3.ps
===================================================================
--- trunk/gs/lib/gs_ll3.ps 2007-07-06 12:18:01 UTC (rev 8110)
+++ trunk/gs/lib/gs_ll3.ps 2007-07-06 16:42:18 UTC (rev 8111)
@@ -340,7 +340,7 @@
% Make the setoverprintmode and currentoverprintmode operators visible (3015)
% Because of the requirements of PDF, the .currentoverprintmode and
-% .setoverprintmode operators have integer parameters. Thus wee need to
+% .setoverprintmode operators have integer parameters. Thus we need to
% convert the Postscript bool parameters to integers.
%
/setoverprintmode % bool setoverprint -
More information about the gs-cvs
mailing list