[gs-bugs] [Bug 690667] Changing PageSize during n-up processing by BeginPage/EndPage generates wrong output

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Wed Jul 29 07:38:02 PDT 2009


http://bugs.ghostscript.com/show_bug.cgi?id=690667





------- Additional Comments From masaki.ushizaka at artifex.com  2009-07-29 07:38 -------
Created an attachment (id=5248)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=5248&action=view)
Bug690667.ps

A file 'Bug690667.ps' is a job I created to reproduce.	BeginPage and EndPage
procedure makes several debug print and those can see in .log files.

b690667_acrobat601.pdf is generated using Acrobat Distiller 6.0.1 and, which I
believe, it illustrates what correct output should be.	b690667_acrobat601.log
is a log generated with it.

b690667_gs9906.tiff is generated using this command:

$ bin/gs -sDEVICE=tiffgray -o b690667_gs9906.tiff Bug690667.ps

In this file I see 3 problems;	a. the size is 612x792 (Letter),  b. three
subpages become garbage, and c. the string (3 2 EndPage #4) which is printed by
4th calling of EndPage, is printed with device default matrix, not subpage
matrix.

b690667_gs9906.pdf is created by this command:

$ bin/gs -dCompatibilityLevel=1.2 -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
-o b690667_gs9906.pdf -c .setpdfwrite -f Bug690667.ps 

This file displays same symptoms with b690667_gs9906.tiff except (b),  because
this is not a raster format.

b690667_gs9906.log is outputs from above two command.  I see 4th EndPage is
under device default matrix, and 5th BeginPage/EndPage is called with page
count 3.  Compare this with b690667_acrobat601.log.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list