Bug 122203 - FILESAVE: Rotated text with special char 'middledot' in exported SVG file is corrupted
Summary: FILESAVE: Rotated text with special char 'middledot' in exported SVG file is ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.1.4.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:svg
Depends on:
Blocks: SVG-Save
  Show dependency treegraph
 
Reported: 2018-12-19 19:46 UTC by post
Modified: 2023-11-08 00:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
This is the example document for reproducing the bug. (8.87 KB, application/octet-stream)
2019-01-23 17:14 UTC, post
Details
This is the resulting malformed svg export of the .odg file (6.74 KB, application/octet-stream)
2019-01-23 17:15 UTC, post
Details

Note You need to log in before you can comment on or make changes to this bug.
Description post 2018-12-19 19:46:01 UTC
Description:
A text field that
- contains arbitrary text, then a Unicode Character 'MIDDLE DOT' (U+00B7) and followed by another arbitrary text (everything in one line)
- rotated by some degree, for e.g. -72°
is not exported correctly as SVG.
The rotated text in the exported SVG file is not on line anymore. It decomposes into at least three lines.

Steps to Reproduce:
1. Create a new empty drawing.
2. Create a text field and enter some text that contains at least one Unicode Character 'MIDDLE DOT' (U+00B7). Ensure that there is text before AND after the MIDDLE DOT.
3. Rotate the text field by -72°
4. Export SVG

Actual Results:
Rotated text in SVG goes over multiple lines, although it is written as one line in Libre Office Draw.

Expected Results:
Rotated text in SVG should be displayed in one line.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Xisco Faulí 2019-01-21 18:35:01 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 2 post 2019-01-23 17:14:54 UTC
Created attachment 148565 [details]
This is the example document for reproducing the bug.
Comment 3 post 2019-01-23 17:15:56 UTC
Created attachment 148566 [details]
This is the resulting malformed svg export of the .odg file
Comment 4 post 2019-01-23 17:16:45 UTC
Example documents added as attachment for reproducing the bug.
Comment 5 Roman Kuznetsov 2019-05-06 10:00:26 UTC
repro in

Version: 6.3.0.0.alpha0+
Build ID: 7334034ae93b49fc93b5859a3c047a319d138282
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-04-30_02:53:03
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 6 QA Administrators 2021-05-06 04:36:39 UTC Comment hidden (obsolete)
Comment 7 Roman Kuznetsov 2021-05-30 18:36:29 UTC
still repro in

Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 08e99279226206db8ce83cdebc4cf2994739e90b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded
Comment 8 Sophie Sipasseuth 2023-05-30 08:56:10 UTC
Still repro in

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 20873f073ae4a9478f0a84355f779a2176bd2ec8
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded