https://bugs.documentfoundation.org/show_bug.cgi?id=51510
--- Comment #22 from Mike Kaganski <[email protected]> ---
Created attachment 170646
--> https://bugs.documentfoundation.org/attachment.cgi?id=170646&action=edit
An ODT with a scaled small SVG
Trying to export this ODT to DOCX will result in awful result.
The SVG there is very simple:
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 20 20"
stroke="black">
<path d="M1,1L19,19"/>
</svg>
It is defining a bounding box 21x21 logical units, and draws a diagonal from
1,1 to 19,19.
When exported to PNG, VectorGraphicData::ensureReplacement generates a 21x21
*pixels* bitmap, and then that bitmap is saved to the document (and is shown on
page scaled to requested dimensions).
--
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