Download it now!
Bug 129324 - EDITING Draw converts text to curves in a SVG file with viewBox in SVG code
Summary: EDITING Draw converts text to curves in a SVG file with viewBox in SVG code
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:svg
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2019-12-11 10:54 UTC by joachim_liedtke
Modified: 2020-04-29 17:08 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
SVG not working (292 bytes, image/svg+xml)
2019-12-11 10:54 UTC, joachim_liedtke
Details
SVG working (270 bytes, image/svg+xml)
2019-12-11 10:55 UTC, joachim_liedtke
Details
SVG made from LODraw for comparison of code and size (7.71 KB, image/svg+xml)
2019-12-18 07:38 UTC, joachim_liedtke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joachim_liedtke 2019-12-11 10:54:30 UTC
Created attachment 156477 [details]
SVG not working

I have a (very basic) SVG with two lines of text. When I place the file in Draw, then break it up the first line of text is always converted to curves whereas the second line of text is editable.

When I remove viewBox from the SVG code (width and height are 100%) both lines of text are editable.
Comment 1 joachim_liedtke 2019-12-11 10:55:03 UTC
Created attachment 156478 [details]
SVG working
Comment 2 Roman Kuznetsov 2019-12-18 07:28:11 UTC
Joachim, in which software did you make your SVG?


Xisco, possibly it's not our bug?
Comment 3 joachim_liedtke 2019-12-18 07:37:54 UTC
Basically the SVG was coming from Affinity Designer / Adobe Illustrator CS6. Tried both versions. Step by step I removed several lines of code from the SVG until the versions I uploaded.

So the only version worked was the one where I removed viewBox. Apart from this: Have you ever checked the code of SVG generated from LODraw? Its massive for just two lines of text. Good news, this SVG works after reimport to LODraw.
Comment 4 joachim_liedtke 2019-12-18 07:38:37 UTC
Created attachment 156642 [details]
SVG made from LODraw for comparison of code and size
Comment 5 Buovjaga 2020-04-29 17:08:31 UTC
Behaves like this already in 4.4. Older versions do not allow to break it.

I don't see why it should behave this way with viewBox attribute being present.