Summary: | PDF File takes long time to render compared to the cairo backend | ||
---|---|---|---|
Product: | poppler | Reporter: | Krzysztof Tyszecki <krzychoocpp> |
Component: | splash backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | 4pfq30f5e8ee |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Problematic PDF
Source SVG |
Description
Krzysztof Tyszecki
2009-09-17 05:25:31 UTC
Which poppler version are you using? With 0.12 i can see that it is slower, but it renders correctly I was using version 0.10.7. I just checked an it turned out that 0.12/splash displays file correctly... Sorry for submitting bug report without doing sufficient research. However, poppler/cairo still renders the file significantly faster. No problem, fixing the summary I see that acroread is also slow to render this PDF and ghostscript fails with a /rangecheck. Could you attach the SVG file. I'd like to find out why inkscape and cairo are doing a poor job of generating this PDF. Created attachment 29803 [details]
Source SVG
Giving some data: * poppler 0.24.1 * i7-2670QM CPU @ 2.20GHz * test-poppler-qt4: 2.8 seconds * poppler-glib-demo: 0.2 seconds The document makes massive use of object transparencies (the colored tiles have a solid fill color, but an opacity of 86.5%). These were exported by inkscape in a very problematic way: 1. For each background tile, an opaque rect the size of the full page is drawn 2. The rect is filled with a pattern 2.1. The pattern is an opaque rect the size of the original colored tile 3. The page sized object is blended with an alpha mask As there several of this objects (backdrops and the triangle shaped markers), the whole page is overdrawn 62 times. Current versions of inkscape/poppler do a significant better job here. The rectangles/triangeles are directly drawn with the specified opacity. This reduces the total instruction count from ~100 billion instructions to ~11 billion. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/27. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.