Bug 64457

Summary: SVG: Rotated text is converted to shapes/paths
Product: LibreOffice Reporter: ilikebigbugs
Component: graphics stackAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: barta, jorendc, noelgrandin, obwyulxa, stephane.guillou, xiscofauli
Priority: medium    
Version: 4.0.4.2 release   
Hardware: All   
OS: All   
Whiteboard: Confirmed:4.3.0.0a0+:Win8 target:7.1.0
Crash report or crash signature: Regression By:
Bug Depends on: 62284    
Bug Blocks: 88278    
Attachments: image of the behaviour
svg file from Bug 62284

Description ilikebigbugs 2013-05-11 11:18:56 UTC
Created attachment 79140 [details]
image of the behaviour

esipt_text_2.svg
text1_2.png
XP, LO Version 4.0.4.0+
Insert->Picture->From File
rotated text is converted into path (every letter becomes a single shape/path)

svg file from Bug 62284 was used

some comments/testing on SVG import can be found here:
http://en.libreofficeforum.org/node/293
Comment 1 ilikebigbugs 2013-05-11 11:22:23 UTC
Created attachment 79141 [details]
svg file from Bug 62284
Comment 2 Jorendc 2013-05-22 17:39:47 UTC
I can not reproduce this behavior using Linux Mint 15 x64 with LibreOffice 4.0.3.3 and Version: 4.2.0.0.alpha0+ Build ID: 66c315bcf2b78c4928d1e436d1a853f58f4cccd 

When import the image, it's imported as 1 image. Clicking on the letters result only in selecting the whole image (not all independent shapes).

Kind regards,
Joren
Comment 3 datbug 2013-06-01 22:45:25 UTC
by "converted into path" I don't mean the text ist converted into paths one can select. I think atm you can't select anything in an imported svg file. What I meant ist that the text is not shown properly. When you have just a line of text which is not rotated, the text is shown properly (I think it is converted to real text in LO) but when the text is rotated it looks like the text is not converted into text but seperated shapes (as you can see the ugly looking letters/shapes in the attachement 79140).
Comment 4 datbug 2013-06-02 19:13:02 UTC
actually,after inserting the svg you can right click on the image and
choose "Break". After breaking you can see that normal text is converted to a text box but rotated text is converted into seperate shapes.
Comment 5 ign_christian 2013-06-20 03:25:12 UTC
I can confirm same behavior on LO 4.0.4.2 (Win7 32bit)
Comment 6 retired 2014-03-30 09:43:04 UTC
Still happening Confirmed:4.3.0.0a0+:Win8

Version: 4.3.0.0.alpha0+
Build ID: 99159a618fd1ea90a2bc8a72621c88a4cf26e6f5
TinderBox: Win-x86@47-TDF, Branch:MASTER, Time: 2014-01-17_06:46:31
Comment 7 Xisco FaulĂ­ 2015-09-09 15:18:39 UTC
This issue is still present in

Version: 5.0.1.2
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: es-ES (es_ES)

on Windows 7 (64-bit)
Comment 8 Heiko Tietze 2016-05-17 13:41:41 UTC
*** Bug 50013 has been marked as a duplicate of this bug. ***
Comment 9 QA Administrators 2017-05-22 13:40:01 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2019-12-03 14:10:04 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2021-12-03 04:28:45 UTC Comment hidden (obsolete)
Comment 12 Stéphane Guillou (stragu) 2023-07-18 08:12:08 UTC
Tested with the "ESIPT" text run at the top of attachment 79141 [details], reproduced the issue in LO 7.0: text is rotated when breaking, and each letter is separate.

Resolved since Noel Grandin's commit:

commit 0fb58a1ff168ae122e9c8993a3136658e3b0e3f0
author	Noel Grandin Tue Oct 20 07:27:44 2020 +0200
committer	Noel Grandin Wed Oct 21 08:13:05 2020 +0200
new tools::Degree10 strong typedef
partly to flush some use of "long" out the codebase,
but also to make it obvious which units are being used
for angle values.
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104548

(bibisected the fix with linux-64-7.1 repo to 4162efa7ce007dfaa161eee617f0aaf17da186f8)

Thank you Noel!