[gs-cvs] rev 6931 - trunk/gs/lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Wed Jul 26 18:16:00 PDT 2006
Author: alexcher
Date: 2006-07-26 18:15:59 -0700 (Wed, 26 Jul 2006)
New Revision: 6931
Modified:
trunk/gs/lib/gs_lev2.ps
Log:
Accept string values of page device, halftone, and rendering intent names.
PLRM specifies that all these values can be names or strings.
Bug 688776.
DIFFERENCES:
None.
Modified: trunk/gs/lib/gs_lev2.ps
===================================================================
--- trunk/gs/lib/gs_lev2.ps 2006-07-26 05:03:57 UTC (rev 6930)
+++ trunk/gs/lib/gs_lev2.ps 2006-07-27 01:15:59 UTC (rev 6931)
@@ -693,9 +693,9 @@
/findcolorrendering { % <intentname> findcolorrendering
% <crdname> <found>
/ColorRendering /ProcSet findresource
- 1 index .namestring (.) concatstrings
- 1 index /GetPageDeviceName get exec .namestring (.) concatstrings
- 2 index /GetHalftoneName get exec .namestring
+ 1 index dup type /nametype eq { .namestring } if (.) concatstrings
+ 1 index /GetPageDeviceName get exec dup type /nametype eq { .namestring } if (.) concatstrings
+ 2 index /GetHalftoneName get exec dup type /nametype eq { .namestring } if
concatstrings concatstrings
dup /ColorRendering resourcestatus {
pop pop exch pop exch pop true
More information about the gs-cvs
mailing list