[Poppler-bugs] [Bug 57299] New: Add a way to render a page without getting the text

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 19 16:05:02 PST 2012


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

          Priority: medium
            Bug ID: 57299
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: Add a way to render a page without getting the text
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: jose.aliste at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: glib frontend
           Product: poppler

Created attachment 70290
  --> https://bugs.freedesktop.org/attachment.cgi?id=70290&action=edit
test file

While looking at large map files like the one of the RATP for the metro of
Paris (will upload) these have a lot of text, but this text is in all shapes...
Currently the glib frontend will ALWAYS get the text of the page when
rendering. A sysprof of the sample shows that most of the time is spent in
coalescing the text, which of course is doing nothing as the text on this page
is scattered all the way. 

I just quickly removed the setTextPage call in poppler_page_render, and this
files render in 3 sec in my machine (i5 with ssd) while normally it takes about
30 sec... 

So, please allow for a way of rendering the file, and getting the text in
different calls. I know I know, this will reparse the file twice... but in
normal texts, rendering and coalescing is not that slow, so we probably won't
notice it too much in applications, while going from 30 sec to 3 sec makes my
"tiled manager"  evince finally renders such a file at 100% possible. :)

-- 
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/20121120/7b2f32ea/attachment-0001.html>


More information about the Poppler-bugs mailing list