[gs-bugs] [Bug 689791] New: gs misparses %%ViewingOrientation and other comments

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Mon Apr 14 19:45:23 PDT 2008


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

           Summary: gs misparses %%ViewingOrientation and other comments
           Product: Ghostscript
           Version: 8.62
          Platform: All
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P4
         Component: PS Interpreter
        AssignedTo: support at artifex.com
        ReportedBy: williambader at hotmail.com
         QAContact: gs-bugs at ghostscript.com


The gs DSC parser has two problems.  First, it does not respect
BeginData/EndData.  If a page contains an embedded EPS and the embedded EPS has
page setup comments, gs parses the comments in the embedded EPS instead of
ignoring them.  Second, the parser should take the first version of each comment
instead of continuing to scan for other copies.  This second problem makes it
impossible to work-around the first problem by adding more comments at the top.
This is causing me problems where a landscape page with an embedded EPS that
wants to be portrait is causing ps2pdf to write a portrait pdf.
Refer to the parsing rules on page 28 of section 4.4 of Adobe document
5001.DSC_Spec (25 Sep 92).



------- 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