[gs-cvs] rev 7825 - trunk/gs/lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Thu Apr 5 21:11:00 PDT 2007
Author: alexcher
Date: 2007-04-05 21:11:00 -0700 (Thu, 05 Apr 2007)
New Revision: 7825
Modified:
trunk/gs/lib/pdf_draw.ps
Log:
Accept a perfectly valid 0-length pattern stream. Work around a strange
restriction on 0-length target string in the readstring operator.
Fix bug 689162.
DIFFERENCES:
No Comparefiles or CET differences.
Modified: trunk/gs/lib/pdf_draw.ps
===================================================================
--- trunk/gs/lib/pdf_draw.ps 2007-04-06 02:43:19 UTC (rev 7824)
+++ trunk/gs/lib/pdf_draw.ps 2007-04-06 04:11:00 UTC (rev 7825)
@@ -756,7 +756,11 @@
dup 3 index /Length oget
dup 65535 le {
- string readstring pop
+ dup 0 eq {
+ pop pop ()
+ } {
+ string readstring pop
+ } ifelse
} {
() /SubFileDecode filter /ReusableStreamDecode filter
} ifelse
More information about the gs-cvs
mailing list