[Poppler-bugs] [Bug 73400] New: pdftohtml very slow if pdf uses tiling pattern fill

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 8 07:25:25 PST 2014


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

          Priority: medium
            Bug ID: 73400
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: pdftohtml very slow if pdf uses tiling pattern fill
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: freedesktop at arbruijn.dds.nl
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: pdftohtml
           Product: poppler

Created attachment 91677
  --> https://bugs.freedesktop.org/attachment.cgi?id=91677&action=edit
slow pdf

pdftohtml is very slow if the pdf uses tiling pattern fill. The attached pdf
takes many hours to process.


Some backtraces show this is caused by
Gfx::doTilingPatternFill/Gfx::drawForm/Gfx::pushResources which reloads all
fonts many times.

I saw the ImageOutputDev backend has an empty tilingPatternFill method to
"avoid the potentially slow loop in Gfx.cc". Since HtmlOutputDev has similar
image handling to ImageOutputDev it seems appropriate to add this empty method
to HtmlOutputDev as well. This indeed solves the slowness.

-- 
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/20140108/fe8f5f3f/attachment.html>


More information about the Poppler-bugs mailing list