wrong color in PDF export
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Medium
|
Unassigned | ||
Inkscape Devlibs |
Fix Released
|
Medium
|
Unassigned | ||
cairo |
Fix Released
|
Medium
|
Bug Description
Export bug.svg to PDF (0.48+dev, r9841), the sine wave bottom left is colored green instead of black (see bug.pdf).
The cause for this is probably the default color of the sine, AND the default color of the stroke of the object before the sine.
Simplification of the SVG:
<path style="
<path style="
<path style="
The sine wave in the PDF export has the same color of the green line.
The color is correct when changing any of these:
- change fill of red object to solid color
- change stroke color of red object to something other than black
- change stroke color of sine to something other than black
- change stroke-opacity of red object to e.g. 0.9
After some testing, I think this bug is caused by Cairo. (and has to do something with black (rgba=0,0,0,1) being the default color...)
tags: | added: exporting |
Changed in cairo: | |
status: | Unknown → Fix Released |
Changed in cairo: | |
importance: | Unknown → Medium |
reproduced with Inkscape 0.48+devel r9841 on OS X 10.5.8:
sine wave at the bottom left is colored green both with export based on cairo 1.8.10 and based on cairo 1.10.0 (using PDF 1.4 and 1.5)