Issue 11614

Summary: Export as PDF produces unbalanced q/Q operators.
Product: gsl Reporter: behrends <behrends>
Component: codeAssignee: philipp.lohmann
Status: CLOSED FIXED QA Contact: issues@gsl <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 644   
Target Milestone: OOo 1.1 Beta   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
PDF file that demonstrates the q/Q balance error. none

Description behrends 2003-02-19 00:17:10 UTC
Sanity tests with Ghostscript 8.00 reveal that PDF files created with "Export as
PDF" has unbalanced q/Q operators.

gs -dBATCH -dNOPAUSE -q -sDEVICE=nullpage file.pdf

produces:

   **** Warning: File has imbalanced q/Q operators (too many q's)

   **** This file had errors that were repaired or ignored.
   **** Please notify the author of the software that produced this
   **** file that it does not conform to Adobe's published PDF
   **** specification.

Note that gs7.04 simply aborts with an "invalid restore" error for the same file.
Comment 1 behrends 2003-02-19 00:18:17 UTC
Created attachment 4791 [details]
PDF file that demonstrates the q/Q balance error.
Comment 2 christof.pintaske 2003-02-19 09:03:51 UTC
cp->pl: please have a look at it
Comment 3 philipp.lohmann 2003-02-19 11:17:52 UTC
oops
Comment 4 philipp.lohmann 2003-02-20 14:45:05 UTC
Aarghh ... when compression was enabled (that is without DEBUG
defined) the last Q did not make it into the compressed stream,
therefore it was not part of it. fixed in CWS vcl06
Comment 5 philipp.lohmann 2003-03-11 11:04:26 UTC
verified in CWS vcl06
Comment 6 michael.bemmer 2003-03-13 11:13:25 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details. 
Comment 7 philipp.lohmann 2003-03-13 11:25:47 UTC
this is not merged yet, so it should be verified, not closed
Comment 8 philipp.lohmann 2003-03-13 11:26:14 UTC
fixe din vcl06
Comment 9 philipp.lohmann 2003-03-13 11:26:30 UTC
verified in vcl06
Comment 10 philipp.lohmann 2003-03-19 09:58:40 UTC
code is merged