https://bugs.documentfoundation.org/show_bug.cgi?id=92519

            Bug ID: 92519
           Summary: SVG mages are wrongly embedded tens of times in FODT
           Product: LibreOffice
           Version: 5.0.0.0.beta3
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

If i save a document with an SVG image or an ODG embedded object, the document
size grows immensly. If i open the fodt file in my text editor, i see the image
is embedded tens of times instead of just once.

The document is correctly saved in LibreOffice 4.4.3.2 with a filesize of
around 750K. If i save the same document in LibreOffice > 5.0.0.0, the same
document is saved as a whopping 55MB file. I've tested this with 5.0.0.0 Beta 3
and 5.0.0.2.

To confirm download this file (somehow it was not saved as fodt but as odt):
https://github.com/pilight/pilight-manual/raw/d8760ea825cad0421df599d117ee57818ec80e20/english/electronics-wiring.fodt

First open and save it again as fodt in 4.4.3.2 and you'll see a filesize of
756K. The source of the file nicely shows the SVG XML tags embedded in the
document source.

Then open the exact same file as save it again as fodt in 5.0.0.2
(a26d58f11b99b6aeddf7f7884effea188cc6e512) and you'll see a filesize of 55.2MB.
The source of the file now doesn't contain the nice SVG XML tags anymore but
instead the "office:binary-data" base64 encoded images are inserted 58 times
(for 2 images).

-- 
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