Summary: | Warning: Pattern stream has unbalanced q/Q operators (too many q's) | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marcos H. Woehrmann <marcos.woehrmann> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | CC: | robin.watts |
Priority: | P2 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | All | ||
Customer: | 700 | Word Size: | --- |
Description
Marcos H. Woehrmann
2011-05-31 09:06:46 UTC
The file has a rather long number: 36.00000 0.00000 0.00000 36.00000 0.0000 -43583108498802323000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.0000 cm If this number is replaced with an ordinary one, the file runs to completion. The same line causes the problem in mupdf - the scale function is entered with an invalid matrix. A fix for this has been developed and is working it's way into the mupdf repo now. Make pattern handling code tolerant to pattern streams that leave some junk on the operand stack. For instance, this can happen when processing of a stream terminates prematurely. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=db4af9eaf902dbac931ca8c88c586df9d160fb72 |