Suboptimal PDF output with translucent fill or stroke
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
The problem is the ellipses in the background are each drawn in the PDF
with an soft mask due to the fill/stroke opacity set to less than 100%.
This means each individual ellipse is drawn to an image buffer the size
of the page, the mask function is drawn to another image buffer the size
of the page. The ellipse image is then composited with the mask image
back on to the page. With all the ellipses on the page this is not going
to be fast.
The workaround is to set the master opacity to 100% and instead use the
alpha in the stroke paint to control the transparency.
This is something that should be optimized in Inkscape. Currently
Inkscape calls cairo_paint_
100%. This is required to handle the general case of drawing a combined
fill and stroke to prevent a translucent stroke compositing with the
fill. Calling cairo_paint_
in the PDF file. If only a fill or stroke is drawn, Inkscape should
instead adjust the alpha value of the fill or stroke and avoid calling
cairo_paint_
Changed in inkscape: | |
importance: | Undecided → Wishlist |
tags: | added: performance renderer |
summary: |
- Optimizing rendering + Suboptimal PDF output with translucent fill or stroke |
Changed in inkscape: | |
status: | New → Confirmed |
tags: |
added: pdf removed: renderer |