[Poppler-bugs] [Bug 23991] PDF File takes long time to render compared to the cairo backend

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 20 12:44:57 UTC 2018


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

--- Comment #7 from Stefan BrĂ¼ns <stefan.bruens at rwth-aachen.de> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180520/4c3f31ab/attachment.html>


More information about the Poppler-bugs mailing list