[Poppler-bugs] [Bug 54746] High CPU usage on reading specific file

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 29 08:11:10 PDT 2015


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

--- Comment #6 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
The problem is here neither the splash backend nor the cairo backend. Rendering
the PDF is fast with splash and with cairo.
The problem is the TextOutputDev used in okular and in evince to make the text
searchable. TextOutputDev tries to sort the text into readind order by
performing a topological, and this is really slow for this document. And is
even not necessary: because all fonts are embedded and all use a custom
encoding the content will never be searchable.

But I'm not an expert in TextOutputDev, I just figured out that pdftotext -raw
is much faster, so evince and okular perhaps can detect that the text will not
be readable and omit the text extracting?

-- 
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/20150429/4c7294d3/attachment-0001.html>


More information about the Poppler-bugs mailing list