Bug 134716 - Incorrect rendering of this .svg file
Summary: Incorrect rendering of this .svg file
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, filter:svg, regression
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2020-07-10 15:10 UTC by Frederic Parrenin
Modified: 2020-09-17 09:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
.svg image to reproduce the problem (110.56 KB, image/svg+xml)
2020-07-10 15:10 UTC, Frederic Parrenin
Details
Comparison Firefox and LibreOffice 7.1 master (135.16 KB, image/png)
2020-07-10 15:43 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Parrenin 2020-07-10 15:10:16 UTC
Created attachment 162882 [details]
.svg image to reproduce the problem

Steps to reproduce:
- open writer
- insert the attached .svg file
- observe the word "PRÉCESSION"
=> there is the space before and after the "É"
Such spaces are not present when opening the file with, e.g. eog.
The svg has been produced by LibreOffice Draw.
Comment 1 Xisco Faulí 2020-07-10 15:43:38 UTC
Created attachment 162884 [details]
Comparison Firefox and LibreOffice 7.1 master
Comment 2 Xisco Faulí 2020-07-10 15:43:52 UTC
Reproduced in

Version: 7.1.0.0.alpha0+
Build ID: 12bfedfac3b141fe6c91b0e5ae5b3fb2ba817c48
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Xisco Faulí 2020-07-10 15:45:02 UTC
Also reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.19; Render: default; 

Locale: en-US (en_US.UTF-8)
Comment 4 Telesto 2020-07-10 20:14:16 UTC
Also in
Versie: 4.1.0.4 
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28

but no in
3.5.7.2
Comment 5 Aron Budea 2020-07-19 15:05:28 UTC
Already in 4.0.0.3 / Ubuntu.
Gives "Graphics filter not found" error in 3.6.0.4 and 3.5.0.3.
Comment 6 Timur 2020-09-16 12:26:38 UTC
There was proper insert in LO 3.6.0, missing image in early 3.7 and 4.0, wrong EXCENCTRITÉ in LO 4.0.0, wrong PRÉCESSION in 4.2.0, then in 4.3.0 some regression not to have text, which was fixed in LO 4.4 to have text with this bug, as in LO 7.1+.

I tried to bibisect 1st change from good to missing and.... and found that "typo" is to blame :)

ba6eb41acb8df58f3009920f8ab8b32a3e1b764e is the first bad commit
Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Date:   Tue Dec 11 01:59:31 2012 +0000

    source-hash-ae4e4a11d4300f7448cb6bd170fcb034542caddc
    
    commit ae4e4a11d4300f7448cb6bd170fcb034542caddc
    Author:     Rene Engelhard <rene@debian.org>
    AuthorDate: Tue Nov 6 21:24:32 2012 +0100
    Commit:     Rene Engelhard <rene@debian.org>
    CommitDate: Tue Nov 6 21:24:32 2012 +0100
    
        typo...

    previous source-hash-4316e643ef345b0f673b4a03a80a4b7cb3185588

https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=4316e643ef345b0f673b4a03a80a4b7cb3185588..ae4e4a11d4300f7448cb6bd170fcb034542caddc

Range is too big. I set bibisected, but not bisected.
Comment 7 Timur 2020-09-16 12:27:54 UTC
Only svg mention is in https://cgit.freedesktop.org/libreoffice/core/commit/?id=e10124b20efb8cb7caf0f02fc537147a6505aa1d

author	Tor Lillqvist <tml@iki.fi>	2012-11-06 18:08:16 +0200
committer	Tor Lillqvist <tml@iki.fi>	2012-11-06 18:59:44 +0200
commit	e10124b20efb8cb7caf0f02fc537147a6505aa1d (patch)
tree	4b1590fccf7d083da11a2e7e5b197af34d30b8f4
parent	7b58bf4c0bd6614e8ebf8d4fee880a235834323c (diff)
Goodbye gettext, glib, gdk-pixbuf, pango, libcroco, libgsf and librsvg
Now with librsvg no longer used, and liblangtag no longer using glib,
a bunch of bundled (in some configurations, always on some platforms)
3rd-party libraries are no longer needed.

Initial work by rene, continued by tml.
Comment 8 Timur 2020-09-16 13:06:02 UTC
2nd change was from missing image to bugged view. Again large scope.

commit 99f63b2b53c0e22baac045d54f502508d7150fef
Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Date:   Tue Dec 11 05:45:37 2012 +0000

    source-hash-d38a2e3ea04d354492df18aa16d2304babe87dfb
    previous source-hash-d85fd8a85501547d5bb87822d2589a07aed7f2d6

https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=d85fd8a85501547d5bb87822d2589a07aed7f2d6..d38a2e3ea04d354492df18aa16d2304babe87dfb

SVG is mentioned in:

author	Fridrich Štrba <fridrich.strba@bluewin.ch>	2012-11-21 19:00:43 +0100
committer	Fridrich Štrba <fridrich.strba@bluewin.ch>	2012-11-21 19:01:02 +0100
commit	c50bf20fe2753576f3d82deefbdd8f1e0b41a54a (patch)
tree	b9b351bc3f66f8152491661eb6a5b73989be2877
parent	b8a467b70756b83c8aeb77f385ea1e368350d370 (diff)
accept svg documents in svg: namespace (hack)

author	Fridrich Štrba <fridrich.strba@bluewin.ch>	2012-11-21 16:26:25 +0100
committer	Fridrich Štrba <fridrich.strba@bluewin.ch>	2012-11-21 16:26:32 +0100
commit	024cf92581add62866544ae604ff53c89a764ace (patch)
tree	ec85ad9a39880609e1e344459b29378692976d0e
parent	c1200f5eeed0d1ce974dd551c330f72546317630 (diff)
Package svgio

author	Enrico Weigelt, metux ITS <metuxitservice@googlemail.com>	2012-11-15 13:33:56 +0100
committer	Caolán McNamara <caolanm@redhat.com>	2012-11-21 14:09:57 +0000
commit	42925ee1fd33bcbcf8359404d4abf687acc79315 (patch)
tree	c0d2936a6527cd5f2d593c8e814aa6aeda7bc44b
parent	4a51910761b1f528cc21a4d0cc7035108d46aa63 (diff)
dropped dead code from svg