Summary: | writeobject writes tokens GS can't read back in | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marek Kubica <marek> |
Component: | PS Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.71 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
Marek Kubica
2010-07-28 00:09:30 UTC
Ghostscript works a designed. PLRM p. 167 says: The scanner generates a syntaxerror when it encounters a binary object sequence that is malformed in any way. Possible causes include: ... an “unused” field that is not 0 PLRM p. 173 says: Accompanying the top-level object in the object sequence is a 1-byte tag, which is specified as an operand of printobject and writeobject. This tag is carried in the second byte of the object, which is otherwise unused (see Figure 3.3 on page 164). I.e. writeobject with a tag other than 0 generates invalid binary object sequence by Adobe design and Ghostscript implements this. The object can read back by gs when the tag is 0. |