https://bugs.documentfoundation.org/show_bug.cgi?id=95276
--- Comment #9 from [email protected] ---
After exploring the problem a little bit, I discovered that the bug can be
circumvented to some extent by removing clipPath-elements from the SVG-file.
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath1">
<path d="M0 0 L150 0 L150 195 L0 195 L0 0 Z"/>
</clipPath>
Apparently each line of text in an svg file is accomplished by its own
clipPath-element, which restricts the region to which paint can be applied. It
seems that LO-does not scale the clipPath-element (or internal LO-object it is
mapped to) correctly. Other alternative is that the text layout is not scaled
correctly.
For many simple SVG-images, like UML diagrams, the clipPath-element is not
really needed to paint the image correctly. If you are affected by this bug and
really need to use SVG-images in your .odt-document, you can try removing these
clipPath-elements in a text editor. For my purposes this proved to be an
effective work around.
TIP: This regular expression can be used to remove these elements from the SVG
source:
<clipPath(.|\n)*?</clipPath>
replace all matches with empty strings.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs