https://bugs.freedesktop.org/show_bug.cgi?id=56691

--- Comment #2 from Owen Genat <[email protected]> ---
Created attachment 80512
  --> https://bugs.freedesktop.org/attachment.cgi?id=80512&action=edit
Example files (ODG/ODT/SVG/DOCX) showing problem only relates to DOCX.

This bug suffers from a lack of detail. Presumably the initial description and
first comment refer to inserting an SVG into a Writer document (ODT). If this
is the case, then by and large the problem no longer appears reproducable under
GNU/Linux TDF/LO v4.0.3.3. 

flat_logo (Inkscape) SVG examples
---------------------------------
The SVG referenced in comment #1 (for v4.0.3.3) has been generated in Inkscape.
Inserting this into Writer generates both an SVG and corresponding PNG (both as
expected) in the Pictures/ directory of an ODT. Saving the ODT as a DOCX
generates the requisite PNG in the word/media/ directory. There is no SVG but
that is related to bug #51510.

square_circle_triangle (Draw) SVG examples
------------------------------------------
The ODG was created in Draw and exported as the corresponding SVG. Inserting
the SVG into Writer generates both an SVG and corresponding PNG (both as
expected) in the Pictures/ directory of an ODT. Saving the ODT as a DOCX
generates an 8 byte PNG in the word/media/ directory:

$ ls -l image1.png 
-rw-r--r-- 1 oweng users 8 Jun  8 07:06 image1.png
$ file image1.png 
image1.png: PNG image data
$ file -bi image1.png 
image/png; charset=binary
$ hexdump -n 128 -C image1.png 
00000000  89 50 4e 47 0d 0a 1a 0a                           |.PNG....|
00000008
$ hexdump -n 128 -c image1.png 
0000000 211   P   N   G  \r  \n 032  \n                                
0000008

This would appear to be the only situation (under the current version of LO)
where this bug still applies. Tests for Adobe Illustrator generated SVGs are
available in bug #51510 and work as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to