Bug 117386 - EXPORT SVG Text spacing not preserved by SVG export filter
Summary: EXPORT SVG Text spacing not preserved by SVG export filter
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, regression
Depends on:
Blocks: SVG-Save
  Show dependency treegraph
Reported: 2018-05-02 12:06 UTC by Florian Reisinger
Modified: 2022-10-07 15:06 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

Top left: Exported SVG Bottom left: Corrected SVG ight: Draw preview (154.14 KB, image/png)
2018-05-02 12:08 UTC, Florian Reisinger
Draw example file (page 2) (37.06 KB, application/vnd.oasis.opendocument.graphics)
2018-06-08 04:58 UTC, Florian Reisinger

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Reisinger 2018-05-02 12:06:44 UTC
See attached files (my first bug report for a long time, unable to see "upload attachment")

On page 2 of the attached fodg file there is a rectangle with rounded corners with the text "GUI". It has a custom spacing of 100pt, which is lost on SVG export

Steps to Reproduce:
Open file (or create one with a custom line spacing)

Actual Results:  
Line spacing not preserved

Expected Results:
Line spacing exported (SVG supports it)

Reproducible: Always

User Profile Reset: No

Additional Info:

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Comment 1 Florian Reisinger 2018-05-02 12:08:27 UTC
Created attachment 141835 [details]
Top left: Exported SVG Bottom left: Corrected SVG ight: Draw preview

Added attachment
Comment 2 Florian Reisinger 2018-05-02 12:10:06 UTC
Same result with:

Version: (x64)
Build-ID: cb47f0d320994e001bc38dc2ee9b7d957b15e6ab
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; 
Gebietsschema: de-AT (de_AT); Calc: CL
Comment 3 Buovjaga 2018-06-07 17:38:33 UTC
You only attached a screenshot, please attach test files.
Comment 4 Florian Reisinger 2018-06-08 04:58:09 UTC
Created attachment 142606 [details]
Draw example file (page 2)

Page 2 of this file is the example file...
Comment 5 Buovjaga 2018-06-08 11:58:07 UTC
Repro, already in 4.3.0 (Win), but not yet in 3.6.7

Arch Linux 64-bit
Build ID: 67aaa98600269e6b8fa631146c3649a261369471
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on June 7th 2018

Arch Linux 64-bit
Version (Build ID: e183d5b)
Comment 6 Buovjaga 2018-07-10 20:25:55 UTC
Bibisected with Linux 43all to range https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=5b195fbcf7a441aeb193f6abd08b877e580938e0...7c4d3ea6ba4d42b4dda5148a00c8c411b5d7703d

It has several SVG export commits from Thorsten.

Adding Cc: to Thorsten Behrens
Comment 7 QA Administrators 2019-12-04 04:20:38 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2021-12-04 04:42:16 UTC Comment hidden (obsolete)
Comment 9 Gabor Kelemen (allotropia) 2022-06-02 17:51:58 UTC
Still bad in:

Version: / LibreOffice Community
Build ID: 754eb1541a6ca709f78afbc7fb2b75f626562dcc
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded