hairline crack rendering
reported downstream https://phabricator.wikimedia.org/T20936 on https://en.wikipedia.org/wiki/File:Crowned_Portcullis.svg
However https://commons.wikimedia.org/wiki/File:Hairline_crack.svg and https://commons.wikimedia.org/wiki/File:Silversmith_BMP2SVG_accelerated-i-o_300.svg are imho better examples.
reported "parallelstream"
- resvg: https://github.com/RazrFalcon/resvg/issues/234 (closed as malformed svg)
- inkscape: https://gitlab.com/inkscape/inkscape/-/issues/928#note_570343962
Basically everyone (except GPU-scaling adobe illustrator) renders them wrong. The Adobe Illustator-images are "stolen" from a inkscape-bugreport.
https://commons.wikimedia.org/wiki/File:Hairline_crack.svg
svg
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="191" height="95.5" viewBox="0 0 198 99">
<rect width="198" height="99" fill="#FFF"/>
<rect x="0" y="0" width="99" height="99"/>
<rect width="99" height="99" x="99" y="0"/>
</svg>
png
librsvg 2.40 | librsvg 2.50 | librsvg 2.51 | resvg | inkscape | batik |
---|---|---|---|---|---|
copyright
source https://commons.wikimedia.org/wiki/File:Hairline_crack.svg
author https://commons.wikimedia.org/wiki/User_talk:Sarang
license public domain
https://commons.wikimedia.org/wiki/File:Silversmith_BMP2SVG_accelerated-i-o_300.svg
svg
png
librsvg 2.50 | resvg | inkscape | batik | expected | Adobe Illustrator(CPU) | Adobe Illustrator(GPU) |
---|---|---|---|---|---|---|
Detail from resvg
copyright
source: https://commons.wikimedia.org/wiki/File:Silversmith_BMP2SVG_accelerated-i-o.svg
author: https://commons.wikimedia.org/wiki/User:DancingPhilosopher
license: https://creativecommons.org/licenses/by-sa/3.0/
https://commons.wikimedia.org/wiki/File:T20936_Hairline_cracks.svg
svg
512 px
SVG | Inkscape | resvg | librsvg | batik | expected | AI(CPU) | AI(GPU) |
---|---|---|---|---|---|---|---|
copyright
source: https://commons.wikimedia.org/wiki/File:T20936_Hairline_cracks.svg