[Poppler-bugs] [Bug 63088] poppler: file parsing infinite loop encountered with docs containing image masks (sample attached)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Apr 4 01:33:51 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=63088
--- Comment #2 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to comment #1)
> Are you sure it's a core problem? I can see pdftohtml looping but all the
> other tools pdftops, pdftoppm, etc. work fine
You're true: all the other tools use OutputDevice's which implements
tilingPatternFill, but HTMLOutputDev.cc / *.h doesn't implement it. And because
the image mask is part of a pattern colorspace, it is outputted 2541 x 438 =
1112958, and that twice.
I'm not familiar enough neither with HTML nor with CSS nor with pdftohtml to
decide wether it is possible to render it only once and than run a javascript
loop or define a CSS element around it like we do it in PSOutputDev or to
render it as one image like we do it in SplashOutputDev, but the only solution
I see is that someone with more knowhow implement the tilingPatternFill (and
set useTilingPatternFill() to true) in HTMLOutputDev!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130404/d6041a03/attachment-0001.html>
More information about the Poppler-bugs
mailing list