On 2013-05-08 17:39 +0100, Johan Vromans wrote:
> I'm using Inkscape 0.48.4 on Fedora 17.
> I have a drawing that I save in SVG format that I want to embed in an
> OpenOffice (LibreOffice) text document.
> When imported in OpenOffice, I get a black rectangle covering part of
> the drawing. It does not matter whether I save in Inkscape SVG or plain
> When I use display (from ImageMagick) to show the SVGs, I also get the
> black rectangle. In FireFox, both SVGs show fine.
> When I save in OpenOffice Draw (ODG) format I loose all texts in the
> Help is appreciated.
> You can find the drawing and sample dislay in
1) Flowed text
There are two empty 'Flowed text' elements in your drawing (with no text
content). The frame of such 'Flowed text' objects may be rendered as
black rects (unset fill) in some SVG renderers (flowed text is not part
of the current SVG 1.1 specification).
Since the flowed text objects contain no actual text, they do not render
visibly in Inkscape, and thus cannot be easiyl spotted, selected and
This aspect of the issue with flowed text is tracked in
- Bug #485269 “Invisible and unselectable flow region in image”
To avoid creating such invisible text frames, be careful when using the
text tool to not create frames (for flowed text) inadvertently by
click+dragging on the canvas (to create regular text, click once, and
enter the text right away).
For general issues with flowed text, please read:
- Inkscape FAQ: What about flowed text?
and the section in the manual about flowed text:
Attached is an 'Inkscape SVG' version of 'opstelling.svg' which has
those invisible flowed-text objects deleted. It should import in
LibreOffice without unexpected black rectangles, and render correctly in
ImageMagick's 'display' (uses librsvg).
2) Missing text in exported ODG
The problem with missing text when saving as ODG in Inkscape and opening
the exported file in LibreOffice is tracked for Inkscape here (fixed for
next major release 0.49):
- Bug #168268 “Exporting to OpenOffice format (odg) fails with text”