[gs-cvs] rev 8234 - tests/eps
alexcher at ghostscript.com
alexcher at ghostscript.com
Sat Sep 8 17:59:22 PDT 2007
Author: alexcher
Date: 2007-09-08 17:59:22 -0700 (Sat, 08 Sep 2007)
New Revision: 8234
Added:
tests/eps/big-multi-source.eps
Log:
Add a test file that exercises image operator with large strings as multiple
data sources. In this case Ghostscript passes multi-line buffers to the output
device where they may be handled incorrectly.
Added: tests/eps/big-multi-source.eps
===================================================================
--- tests/eps/big-multi-source.eps 2007-09-09 00:53:12 UTC (rev 8233)
+++ tests/eps/big-multi-source.eps 2007-09-09 00:59:22 UTC (rev 8234)
@@ -0,0 +1,37 @@
+%!PS-Adobe-2.0 EPSF-2.0
+%%BoundingBox: 0 0 250 250
+%
+% Test the image with large strings as multiple data sources.
+% In this case Ghostscript passes multi-line buffers to the output device
+% where they may be handled incorrectly. pswrite and epswrite did so
+% prior to the rev. 8233.
+%
+% Fixed: 8233
+% Bug: 688200
+% Flags: ps-interpreter pswrite epswrite low-res
+%
+%%EndComments
+
+/s1 62500 string def
+/s2 62500 string def
+/s3 62500 string def
+/s4 62500 string def
+
+0 251 62499 { //s1 exch 255 put } bind for
+249 249 62499 { //s1 exch 255 put } bind for
+s1 s2 copy
+s1 s3 copy
+s1 s4 copy
+
+/DeviceCMYK setcolorspace
+<< /ImageType 1
+ /MultipleDataSources true
+ /DataSource [ //s2 //s2 //s3 //s4 ]
+ /Decode [0 1 0 1 0 1 0 1]
+ /BitsPerComponent 8
+ /Height 250
+ /Width 250
+ /ImageMatrix [1 0 0 1 0 0]
+>> image
+
showpage
+%%EOF
Property changes on: tests/eps/big-multi-source.eps
___________________________________________________________________
Name: svn:executable
+ *
More information about the gs-cvs
mailing list