Printing pages with objects with opacity != 1.0 gives bad results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Medium
|
Unassigned |
Bug Description
If you print a document which contains an object with opacity != 1.0
the WHOLE page is rendered (by cairo) as bitmap (to be more precise:
the objects which are behind the object). This reduces the
print quality significantly.
The reason is that for each object with opacity != 1.0 inkscape does
basically the following:
cairo_
paint object...
cairo_
cairo_
Since the source is the whole page and since opacity is != 1.0, cairo
has to fall back to a bitmap for the whole page for the postscript
backend.
As a remedy, you can replace the opacity of the object to 1.0 and adjust the
fill-opacity and stroke-opacity accordingly. Then only the object
itself is rendered as bitmap instead of the whole page. For example,
if the opacity is initially 0.5 and both the fill and stroke opacity
are 1.0, set the opacity to 1.0 and set both the fill and stroke
opacity to 0.5. Script for this procedure follows.
Example which illustrates the mentioned issue.