[Poppler-bugs] [Bug 54579] File not renderer correctly (letters seem too gray when compared with Adobe Reader)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 18 13:01:49 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=54579

--- Comment #7 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
The patch now doesn't break reading of the JBIG2 bitmap, and the PDF is
rendered correct, but we get error messages again:

./utils/pdftoppm -png -cropbox 54579.open/tricky.pdf output/tricky
Syntax Error (1498): 1 extraneous byte after segment
Syntax Error (1536): 1 extraneous byte after segment

This happens when a segment with SDNUMEXSYMS = 0 was read (happens two times!).
I digged into the spec, but I can't find out why there is exact one extraneous
byte here or if there is something missing to read by the method. I looked into
other JBIG2 decoders like jbic2dec, but these decoders don't complain about
extraneous byte(s), they just skip to the next sgement.

So we probably can just skip silently, too, but that I let up to You Albert ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160318/fbad3504/attachment.html>


More information about the Poppler-bugs mailing list