https://commons.wikimedia.org/wiki/File:Code2000_Devanagari_va%2Bi.svg
The png renderer shows unicode numbers instead of the actual character for the Devanagari script (Hindi language).
Shyamal | |
Jun 28 2017, 12:52 PM |
F8546587: screenshot.jpg | |
Jun 28 2017, 1:54 PM |
https://commons.wikimedia.org/wiki/File:Code2000_Devanagari_va%2Bi.svg
The png renderer shows unicode numbers instead of the actual character for the Devanagari script (Hindi language).
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Include fonts role in Thumbor role | operations/puppet | production | +1 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T43371 Thumbnail/imagescaler (tracking) | |||
Resolved | • Gilles | T169072 Due to missing fonts on Thumbor hosts, PNG thumbnail of SVG file showing a Devanagari character only displays a Unicode number box | |||
Resolved | • Gilles | T169198 File purging should also purge the thumbnails of old versions | |||
Resolved | • Gilles | T169195 Write maintenance script to purge specific files and their old versions |
@Shyamal: Did Dereckson agree on working on this, or why did you assign this task to him? If not, please unassign.
Cannot reproduce locally, both commands show a proper वि here. Wondering if either some font issue or some thumbnail backend change issue.
$:acko\> rpm -q ImageMagick ImageMagick-6.9.3.0-6.fc25.x86_64 $:acko\> rpm -q librsvg2 librsvg2-2.40.16-2.fc25.x86_64 $:acko\> convert -resize 300x300 Code2000_Devanagari_va+i.svg Code2000_Devanagari_va+i.png $:acko\> rsvg-convert -w 300 -h 300 -o Code2000_Devanagari_va+i.png Code2000_Devanagari_va+i.svg
@Aklapper No, I only added some folks I saw on other rsvg font rendering bugs - I have no idea how this works - in the past I have had bug reports just ignored and then I was told I had to put in the relevant (how can I know who that is?!!) people into the assignee box... Have removed it since you are now aware of this report.
Could be missing fonts on the Thumbor hosts compared to image scalers, I'll look into that.
While the specific bug is quite important to fix, I must note that that particular image is intended to show what it showed before Suyash and Shyamal's recent changes--that is, the appearance of the Devanagari on Wikipedia's logo prior to mid-2010--and thus the specific edits that were made to 'correct' it have been reverted.
See its use here: https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_logos
Confirmed as missing fonts on the Thumbor hosts. The same rsvg-convert command renders fine on image scalers.
Change 361871 had a related patch set uploaded (by Gilles; owner: Gilles):
[operations/puppet@production] Include fonts role in Thumbor role
Change 361871 merged by Filippo Giunchedi:
[operations/puppet@production] Include fonts role in Thumbor role
I agree - I also commented likewise to Suyash who requested me to fix what he saw as a problem - https://commons.wikimedia.org/wiki/User_talk:Shyamal#https:.2F.2Fcommons.wikimedia.org.2Fwiki.2FFile:Code2000_Devanagari_va.252Bi.svg
Should be fixed now. Purging an affected file should fix its current versions' thumbnails.
Purging doesn't seem to affect older versions' thumbnails, not sure how to/if we can fix those.
The purging issue for older versions has been filed here: T169178: Purging files doesn't purge the thumbnails of older versions At this point I don't know if it's easy or hard to fix.
In the meantime, I'll clean up the current version of affected files, which is what really matters.