[Poppler-bugs] [Bug 84833] New: creating single page ps from huge pdf slow / function "PSConverter::convert()" ignores page ranges

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 9 02:07:41 PDT 2014


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

            Bug ID: 84833
           Summary: creating single page ps from huge pdf slow / function
                    "PSConverter::convert()" ignores page ranges
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: qt4 frontend
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: t_d_l_c at gmx.de

I try to print a single page from a huge (400MB) PDF-file with 8000 pages from
okular. This takes ages. 
I noticed that the temporary ps-file created by okular using poppler in /tmp is
also huge (about 400MB). Evince creates only 200kB. 

As we are using our own builds of okular and poppler I looked at the sources. 
I think the problem is in:

poppler-0.24.5/qt4/src/poppler-ps-converter.cc

in the function "bool PSConverter::convert()".

This function simply ignores all page ranges. Looking the source code of
poppler 0.26, the problem seems to be still there. 
I will try to fix this bug myself and post a solution here.

-- 
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/20141009/f5824658/attachment.html>


More information about the Poppler-bugs mailing list