Pattern fill on text elements not exported to PDF
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Inkscape 0.48.2 r9819 (Jul 15 2011)
OS X 10.9.2
We use Inkscape via the command line to generate PDF's and PNG's form SVG's created with our online print editor. This works brilliantly, although recently we discovered a bug. When text elements have a fill pattern with an image and their tspan's do not have the same fill attribute defined, the generated PDF will output the text element without the fill pattern, thus rendering them black. This is not the case for PNG's where the fill pattern is exported correctly. So the fill attribute is not correctly inherited by the tspan elements when the svg is exported as PDF.
We solved this problem by applying the fill pattern to all the tspan elements as well, but I suppose that shouldn't be necessary.
Could you attach a sample SVG file and the generated PDF file, to ease testing with different inkscape versions on different systems? Ideally also the modified version of the SVG with the workaround as described … thx.