[go: up one dir, main page]

Page MenuHomePhabricator

Path processing not correct for SVG file with corrupt drawing (its nodes are invalid)
Closed, InvalidPublic

Assigned To
None
Authored By
JoKalliauer
Apr 27 2018, 10:55 PM
Referenced Files
F23237117: LibrsvgBug_T193300-fixed.svg
Jul 2 2018, 7:33 PM
F17366030: Screenshot from 2018-04-28 18-00-50.png
Apr 28 2018, 4:06 PM
F17353555: LibrsvgBug_T193300.svg (1).png
Apr 27 2018, 11:08 PM
F17353506: 20180427225210!Charlotte_uptown_mapI.png
Apr 27 2018, 11:07 PM
Tokens
"Like" token, awarded by Liuxinyu970226.

Description

https://commons.wikimedia.org/wiki/File:LibrsvgBug_T193300.svg is not rendered correctly:

LibrsvgBug_T193300.svg (1).png (315×512 px, 4 KB)

(I think) It should be a continuous line


As described in https://phabricator.wikimedia.org/T193300#4391574 this file seems to be corrupt, therefore this request might be invalid.

Event Timeline

(I think) It should be a contious line

I expect this to be behavior in the librsvg library (which is also used by Inkscape).
Using rsvg-view-3 from librsvg2-tools-2.40.20, I get these different results:

Screenshot from 2018-04-28 18-00-50.png (445×1 px, 36 KB)

Aklapper renamed this task from pathprozessing not correct to Path processing in specific SVG file is not correct.Apr 28 2018, 4:16 PM
Vvjjkkii renamed this task from Path processing in specific SVG file is not correct to v1daaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
JoKalliauer renamed this task from v1daaaaaaa to Path processing in specific SVG file is not correct.Jul 1 2018, 7:23 AM
JoKalliauer updated the task description. (Show Details)
JoKalliauer added a subscriber: Aklapper.

I mean this is corrupt drawing not corrupt rendering. The curve handles on the both relevant nodes are fully switched at 180°. So I propose
WON'T FIX. Fixed nodes:

Perhelion lowered the priority of this task from High to Lowest.Jul 2 2018, 7:35 PM

@Aklapper : According to your comment T193300#4166078

@RazrFalcon in T40010#4443804 :

Inkscape has it's own rendering backend.

But as Perhelion said: the nodes are invalid. (corrupt drawing)

Aklapper renamed this task from Path processing in specific SVG file is not correct to Path processing not correct for SVG file with corrupt drawing (its nodes are invalid).Mar 10 2019, 5:16 PM

I'm closing this as invalid per the last two comments.

@Aklapper : According to your comment T193300#4166078, I have to correct myself (T193300#4444133) inkscape uses cairo-backend (also librsvg uses cairo-backend REF ), see https://gitlab.com/inkscape/inkscape/issues/1063#note_297298220 (ping to @RazrFalcon )