Issue 11614 - Export as PDF produces unbalanced q/Q operators.
Summary: Export as PDF produces unbalanced q/Q operators.
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: 644
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1 Beta
Assignee: philipp.lohmann
QA Contact: issues@gsl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 00:17 UTC by behrends
Modified: 2003-03-19 09:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
PDF file that demonstrates the q/Q balance error. (11.71 KB, application/pdf)
2003-02-19 00:18 UTC, behrends
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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