Bug 148006 - Export to SVG broken, when exporting rotated objects with multiple lines of text
Summary: Export to SVG broken, when exporting rotated objects with multiple lines of text
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.1.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:svg
Depends on:
Blocks: SVG-Save
  Show dependency treegraph
 
Reported: 2022-03-15 13:58 UTC by ahmed_nematallah
Modified: 2023-06-25 14:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Snapshot containing both original Draw file and resulting Svg (130.32 KB, image/png)
2022-08-03 19:59 UTC, Galuxttor
Details
Example for testing (17.05 KB, application/vnd.oasis.opendocument.graphics)
2022-11-01 18:50 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ahmed_nematallah 2022-03-15 13:58:55 UTC
Description:
When exporting an svg containing a rotated object that has multiple lines of text in it, all the lines after the first one appear at the wrong position

Steps to Reproduce:
1. Create a new drawing
2. Create a box, and rotate it 90 degrees
3. Write some text that spans multiple lines, preferably with a larger font size
4. Save as ODG, everything looks good.
5. Export as SVG, the later lines are not in the correct place.

Actual Results:
The text in the svg is broken.

Expected Results:
The svg should look like the odg.


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-GB
Module: DrawingDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no
Comment 1 Galuxttor 2022-08-03 19:59:15 UTC
Created attachment 181571 [details]
Snapshot containing both original Draw file and resulting Svg
Comment 2 Galuxttor 2022-08-03 20:06:41 UTC
I can confirm for both
7.3.5.2
7.4.0 beta 1

With both text boxes and text in shapes.
Long single line or multiple paragraphes.

(Sorry ahmed_nematallah@hotmail.com but I inadvertently changed version affected and don't remember the one you set: could you please set it again?)
Comment 3 ahmed_nematallah 2022-08-03 20:09:05 UTC
No problem, Done.
Comment 4 Roman Kuznetsov 2022-11-01 18:49:59 UTC
COnfirm in

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 8dcf53b3d2c0e30317c1e247f01d07ab448ec1ae
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded
Comment 5 Roman Kuznetsov 2022-11-01 18:50:42 UTC
Created attachment 183365 [details]
Example for testing
Comment 6 Galuxttor 2023-06-25 14:24:26 UTC
Confirm in

Version: 7.5.4.2 (x86) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 4; OS: Windows; UI render: default; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: threaded