Bug 99769 - export to SVG drops some text
Summary: export to SVG drops some text
Status: RESOLVED DUPLICATE of bug 90284
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.1.4.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: SVG-Save
  Show dependency treegraph
 
Reported: 2016-05-11 03:13 UTC by richard-oss
Modified: 2021-04-10 15:25 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
ODG file with fonts in top two rounded rectangles. (13.81 KB, application/vnd.oasis.opendocument.graphics)
2016-05-11 03:13 UTC, richard-oss
Details
SVG file showing missing fonts in top two rounded rectangles (48.75 KB, image/svg+xml)
2016-05-11 03:14 UTC, richard-oss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description richard-oss 2016-05-11 03:13:54 UTC
Created attachment 124964 [details]
ODG file with fonts in top two rounded rectangles.

I created a diagram in LibreOffice Draw. It exports fine as a PNG, but when exporting as an SVG it does not show the fonts inside some of the shapes.

I have attached the OD
Comment 1 richard-oss 2016-05-11 03:14:55 UTC
Created attachment 124965 [details]
SVG file showing missing fonts in top two rounded rectangles
Comment 2 richard-oss 2016-05-11 03:23:28 UTC
The objects were correctly exported after recreating them.
Comment 3 V Stuart Foote 2016-05-11 04:04:22 UTC
On Windows 10 Pro 64-bit en-US with
Version: 5.1.2.2 (x64)
Build ID: d3bf12ecb743fc0d20e0be0c58ca359301eb705f
CPU Threads: 8; OS Version: Windows 6.19; UI Render: default; 
Locale: en-US (en_US)

Confirming loss of text on export to SVG in the two boxes with rounded corners. Either export with selection, or export entire canvas.

If export to PDF, or PNG (w/transparency) the text is present.
Comment 4 Terrence Enger 2016-05-12 15:08:06 UTC
Looking at .svg export, I see text lost as far back as 43max bibisect
repository version oldest.  I do not know how to translate this to a
version for the version field of the bug report.

Based on comment 3, I am setting O/S = All.
Comment 5 QA Administrators 2017-05-22 13:39:54 UTC Comment hidden (obsolete)
Comment 6 richard-oss 2017-05-22 19:33:23 UTC
I tested the issue against 5.2.6 on Fedora 25, and it appears that the behavior has gotten worse. Fewer of the boxes preserve the text when exported to SVG.

Steps to reproduce with a new file:
* Create an new drawing
* Add a rectangle
* Set the area transparency to 100%
* Click on the rectangle shape's boarder so that you can add text to its center
* Type a few words
* Export as SVG
* Open the exported file in LibreOffice

Expected results:
* The rectangle shape will contain the same words
* Clicking on the rectangle shape's boarder should allow you to edit the previously entered text

Observed results:
* The rectangle shape contains no words
* Clicking on the rectangle shape's boarder allows you to add new text
Comment 7 QA Administrators 2018-05-23 02:35:59 UTC Comment hidden (obsolete)
Comment 8 Terrence Enger 2018-06-13 23:08:50 UTC
I still see the bug in daily Linux dbgutil bibisect repository version
2018-06-13 running on debian-buster.
Comment 9 QA Administrators 2019-06-15 02:59:55 UTC Comment hidden (obsolete)
Comment 10 Terrence Enger 2019-07-16 20:25:50 UTC
I still see the lost text in linux 64-6.4 bibisect repository commit
4d524947, source hash 9b7729c6, 2019-07-08, running on debian-buster.
Comment 11 V Stuart Foote 2021-04-10 15:25:15 UTC

*** This bug has been marked as a duplicate of bug 90284 ***