Page MenuHomePhabricator

Incorrect character placement in PNG thumbnail rendered from SVG
Open, Needs TriagePublic

Description

the png image https://en.wikipedia.org/wiki/Command_pattern#/media/File:Command_pattern.svg which is a png has badly formed text but the svg source from which it is generated seems fine.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 27 2019, 8:00 AM
Aklapper renamed this task from PNG rendered from SVG have random jitter on placement of type to Incorrect character placement in PNG thumbnail rendered from SVG.Nov 27 2019, 12:11 PM
Aklapper added projects: Thumbor, Upstream.

This seems to be about https://commons.wikimedia.org/wiki/File:Command_pattern.svg

Using newer librsvg2 2.46.3 locally and running rsvg-convert -h 645 -f png -o Command_pattern.png Command_pattern.svg, this still shows the same problem. Might be worth to report to upstream at https://gitlab.gnome.org/GNOME/librsvg/issues/

(For the records, the SVG itself looks correct in Chromium 78 and when using librsvg2 2.46.3. The SVG itself is incorrect in Firefox 70.)