Comment 7 for bug 928224

Revision history for this message
David Mathog (mathog) wrote :

The issue here is that the objects are not filled with a solid color, gradient, or bitmap, but by an SVG pattern.

SVG patterns consist of a series of vector operations, in this example, the patterns are red or blue rectangles with black edges. When saving to another vector format, like EMF, these must be converted to something else, since few of the other vector formats support an SVG like fill (fill with more vector operations, PDF being the one exception that I know of.) For EMF not even the lp988601 branch can do this. To do so it would have to render the "core" SVG pattern into a bitmap. Since the pattern can be quite a complex piece of SVG this is not trivial. If somebody can point me to an existing Inkscape function that renders patterns into bitmaps I will implement this for EMF export.

In the meantime, the "fix" here is to get rid of the pattern fill. For instance, select the red bar, change it from a pattern to a solid fill, then do the same for the blue.

Or in the original generator, draw the long graph bars as solids, and draw the squares, if they are really needed, over them. Not as a pattern, but as actual squares.