[gs-cvs] rev 7620 - in trunk/gs: doc lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Fri Jan 19 16:40:23 PST 2007
Author: alexcher
Date: 2007-01-19 16:40:23 -0800 (Fri, 19 Jan 2007)
New Revision: 7620
Modified:
trunk/gs/doc/pscet_status.txt
trunk/gs/lib/gs_res.ps
Log:
Adobe interpreters report simple errors in undefineresource operator but
report more complicated errors in the executable name. We are trying to
reproduce this. CET 23-33.
DIFFERENCES:
None
Modified: trunk/gs/doc/pscet_status.txt
===================================================================
--- trunk/gs/doc/pscet_status.txt 2007-01-19 14:00:14 UTC (rev 7619)
+++ trunk/gs/doc/pscet_status.txt 2007-01-20 00:40:23 UTC (rev 7620)
@@ -4285,16 +4285,15 @@
23-32-6 OK
-23-33-1 DIFF GS shows '--undefineresource--' Tek and CPSI return 'undefineresource'.
- Assign: Alex
- Device Dependent: status and number of Fonts and Encodings pre-loaded
- differs between CPSI and Tek (this is not a problem).
+23-33-1 AOK Device Dependent: status and number of Font, Encoding, and
+ ColorSpaceFamily resources pre-loaded differs between CPSI and
+ Tek and Ghostscript. (this is not a problem).
23-33-2 OK
-23-33-3 DIFF Same as 23-25-2. Assign: Ray
+23-33-3 OK Fixed in rev. 7620 - Alex
-23-33-4 DIFF 'undefineresource' error inconformity. assign: Alex.
+23-33-4 OK Fixed in rev. 7620 - Alex
23-33-5 OK Fixed in rev. 7619; See 23-26-4 for details. - Alex.
Modified: trunk/gs/lib/gs_res.ps
===================================================================
--- trunk/gs/lib/gs_res.ps 2007-01-19 14:00:14 UTC (rev 7619)
+++ trunk/gs/lib/gs_res.ps 2007-01-20 00:40:23 UTC (rev 7620)
@@ -257,8 +257,17 @@
} if
} bind odef
/undefineresource { % <key> <category> undefineresource -
- 1 .argindex 1 index % catch stackunderflow
- .findcategory /UndefineResource .resourceexec pop pop
+ 0 .argindex type /nametype ne {
+ /undefinedresource cvx /typecheck signaloperror
+ } if
+ 1 .argindex 1 index % catch stackunderflow
+
+ { .findcategory /UndefineResource .resourceexec pop pop
+ } stopped {
+ % Although undefineresource is an operator, Adobe uses executable name
+ % here but uses operator for the errors above. CET 23-33
+ /undefineresource cvx $error /errorname get signalerror
+ } if
} bind odef
% Define the system parameters used for the Generic implementation of
More information about the gs-cvs
mailing list