Bug 102959 - Formula not rotated in exported SVG
Summary: Formula not rotated in exported SVG
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: SVG-Save
  Show dependency treegraph
Reported: 2016-10-04 17:40 UTC by u.fuchs
Modified: 2022-12-24 17:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Export this as SVG and see what happens (27.47 KB, application/vnd.oasis.opendocument.graphics)
2016-10-04 17:51 UTC, Buovjaga
SVG created with LO 5.2.2 (242.12 KB, image/svg+xml)
2016-10-04 18:03 UTC, u.fuchs
SVG (Kennlinie2.svg) created with LO 5.4.2 (240.05 KB, image/svg+xml)
2017-10-23 15:34 UTC, u.fuchs
Same drrawing as png, created with LO 5.4.2 (37.61 KB, image/png)
2017-10-23 15:40 UTC, u.fuchs
Provided ODG exported as SVG in LO6.0.3 (243.24 KB, image/svg+xml)
2018-08-26 10:35 UTC, Alex

Note You need to log in before you can comment on or make changes to this bug.
Description u.fuchs 2016-10-04 17:40:46 UTC
Original Bug-report: 96324

I created drawings with LO-Draw which included 90 degrees rotated text with subscripts or a 90-degrees rotated formula. The drawings were exported as SVGs and imported in LO-Writer. 

1. The subscripts are missing.

2. The formula is not rotated any more.

See examples I have uploaded.

I now use LO 5.2.2 TDF-Version, Kubuntu 14.04.

The text on both axis is completely missing.
For examples see Bug 96324!
Comment 1 Buovjaga 2016-10-04 17:51:39 UTC
Created attachment 127810 [details]
Export this as SVG and see what happens
Comment 2 Buovjaga 2016-10-04 17:53:56 UTC
Export attachment 127810 [details] as SVG and view in any SVG viewer/editor like Inkscape, Firefox, LibreOffice.
The formula in the Y-axis is not rotated.

Arch Linux 64-bit, KDE Plasma 5
Build ID: dc41255dc725dfa912326cc5d9e420bd66471c64
CPU Threads: 8; OS Version: Linux 4.7; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on October 1st 2016

Arch Linux 64-bit
Version (Build ID: e183d5b)
Comment 3 u.fuchs 2016-10-04 18:03:16 UTC
Created attachment 127812 [details]
SVG created with LO 5.2.2

This is what I get with LO 5.2.2
Comment 4 QA Administrators 2017-10-23 13:59:29 UTC Comment hidden (obsolete)
Comment 5 u.fuchs 2017-10-23 15:34:55 UTC
Created attachment 137237 [details]
SVG (Kennlinie2.svg) created with LO 5.4.2
Comment 6 u.fuchs 2017-10-23 15:38:19 UTC
Yes, bug is yet present. Yes, it is a regression. See attachment (Kennlinie2.svg) created with LO 5.4.2 from TDF, not the ubuntu version. OS is kubuntu 14.04.
Comment 7 u.fuchs 2017-10-23 15:40:30 UTC
Created attachment 137239 [details]
Same drrawing as png, created with LO 5.4.2

Correct drawing as png.
Comment 8 Alex 2018-08-26 10:35:30 UTC
Created attachment 144448 [details]
Provided ODG exported as SVG in LO6.0.3

You can see how much progress has made with SVG export bugs recently! But still not perfect...

Reproduced in Ubuntu 18.04 LO Version:
Build ID: 1:6.0.3-0ubuntu1
Comment 9 QA Administrators 2019-09-02 09:22:04 UTC Comment hidden (obsolete)
Comment 10 u.fuchs 2019-09-02 11:44:38 UTC
Bug is still present.
Comment 11 u.fuchs 2019-09-02 11:48:06 UTC
Bug is still present. Tested with LO Version:
Build-ID: 6.3.0-0, Manjaro/Arch-Linux
Comment 12 QA Administrators 2021-09-02 03:51:34 UTC Comment hidden (obsolete)
Comment 13 u.fuchs 2021-09-02 10:27:32 UTC
Bug is still present. Tested with LO Version: (Launchpad) Kubuntu 20.04
Comment 14 Rajasekaran Karunanithi 2022-12-24 17:00:50 UTC
Still reproducable in LO 7.6 Dev under Windows 10(x64).

Version: (X86_64) / LibreOffice Community
Build ID: ad387d5b984c6666906505d25685065f710ed55d
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-IN (en_IN); UI: en-US
Calc: threaded