On Nov 22, 2007, at 3:48 AM, Craig Ringer wrote:
> I'm having a bit of trouble with some PDF code, and was hoping for a
> helping hand. The following code is the the end of the content stream
> for PDF Reference 1.5 (v5) page 89:
>
> q
> 232.5 281.5 147.5 245.975 re
> W n
> 0.5 w
> 232.75 527.225 147 -245.475 re
> S
> EMC
> Q
>
> ... and as far as I can tell it's not valid, since the EMC operator
> for
> closing a BMC/BDC/EMC scope appears inside a q/Q scope.
Technically, it's valid - but it is definitely problematic! I
would consider it a bug in the program that produced the PDF.
Might be worth trying to do a "look ahead" on the content stream
when 'out of sync' operators appear like this and fixing it...
> I'm also seeing lots of issues in other files where
> PdfContentsTokenizer
> claims that there are indirect references in the content stream.
Can you provide an example?
Leonard
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users