GNOME Bugzilla – Bug 782670
librsvg does not correctly render linecaps of zero-length paths
Last modified: 2017-12-13 18:27:41 UTC
Created attachment 351931 [details] testcase showing the three types of linecaps applied to zero-width strokes When defining a zero length path like <path d="m0 0 0 0" stroke="black" stroke-linecap="square" /> librsvg fails to render the linecap (it should result in a small square with 1x1 px²). "round" linecaps seem to work, though Find attached a testcase showing the three types of linecaps applied to zero-width strokes: - butt - round - square While butt should result in no visual output, square and round should result in a visible dot or square respectively [1]. Sample renderings will also be attached for - librsvg (fails to render square) - Inkscape (fails to render square, too; see [2]) - Firefox (renders the testcase correctly) [1] https://www.w3.org/TR/SVG11/implnote.html#PathElementImplementationNotes [2] https://bugs.launchpad.net/inkscape/+bug/1690959
Created attachment 351932 [details] librsvg rendering
Created attachment 351933 [details] Inkscape rendering
Created attachment 351934 [details] Firefox rendering
Created attachment 351935 [details] inkscape rendering
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/librsvg/issues/165.