Download it now!
Bug 97537 - INSERT: SVG text color and style incorrect
Summary: INSERT: SVG text color and style incorrect
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:svg
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
Reported: 2016-02-03 19:04 UTC by Yousuf Philips (jay) (retired)
Modified: 2019-06-20 13:46 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

LibreOffice vs Inkscape (58.86 KB, image/png)
2016-02-03 19:04 UTC, Yousuf Philips (jay) (retired)
bloglines in LO Draw 6.1 beta 2 (18.19 KB, image/png)
2018-06-19 19:35 UTC, Roman Kuznetsov

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2016-02-03 19:04:49 UTC
Created attachment 122361 [details]
LibreOffice vs Inkscape

1) Open Writer
2) Insert
3) Increase the size of the image so it equals to the width of the page
4) Notice that the 'B' is in italics and notice that its fill color is black and visible, which isnt the same in other SVG apps (Firefox, Chromium, Inkscape)

The SVG code for the letter 'B' is: <text x="1.5" y="11" font-family="courier" stroke="white" font-size="16"><![CDATA[B]]></text>

Build ID: 513d5c5781ec14f8512432f31290a3d54c8d57df
CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-01_10:25:20
Locale: en-US (en_US.UTF-8)
Comment 1 raal 2016-02-04 08:21:51 UTC
I can confirm with Version:
Comment 2 Yousuf Philips (jay) (retired) 2016-02-08 19:26:24 UTC
The old SVG implementation code found in 3.6.7 didnt have this problem.
Comment 3 QA Administrators 2017-03-06 15:22:02 UTC Comment hidden (obsolete)
Comment 4 Roman Kuznetsov 2018-06-19 19:35:52 UTC
Created attachment 142939 [details]
bloglines in LO Draw 6.1 beta 2

still repro in LO Draw 6.1 beta 2, but rendering became worse
Comment 5 QA Administrators 2019-06-20 02:49:40 UTC Comment hidden (obsolete)
Comment 6 Regina Henschel 2019-06-20 13:46:30 UTC
The black part in the middle of the B is correct. It is the default value for the missing 'fill' attribute. It is only covered by the stroke.

The rendering of the outline of B is still wrong. It looks as if it is a problem of accuracy. If you increase all length values by 10 in the SVG source, then the outline becomes curved.

I see the error still in Version: (x64)
Build ID: 7aaa7212f2f37606b34d44a039398f05c02d5660
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-11_23:48:14
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded