the attached file 1.pdf is rendered incomplete when viewing or generating TIFF with the Ghostscript. The AcrobatReader displays the complete drawing. The following warning is shown: Page 1 **** Warning: File has unbalanced q/Q operators (too many q's) **** This file had errors that were repaired or ignored. **** The file was produced by: **** >>>> PDF Xpansion 5.5.1 <<<< **** Please notify the author of the software that produced this **** file that it does not conform to Adobe's published PDF **** specification.
Created attachment 4974 [details] 1.pdf
Ghostscript correctly detects that q/Q operators are not balanced but does it at the end of the job. We need enforce the balance for every form stream.
Check for unbalanced q/Q operators in content streams of PDF forms. Add missing Q when needed and issue a warning. The following patch has been committed as a rev. 9716. http://ghostscript.com/pipermail/gs-cvs/2009-April/009302.html Regression testing shows no differences.
Changing customer bugs that have been resolved more than a year ago to closed.