Last modified: 2012-02-21 11:12:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10895, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8895 - Incorrect rendering of stretched text in svg -> png conversion
Incorrect rendering of stretched text in svg -> png conversion
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
SVG rendering (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
https://test.wikipedia.org/wiki/File:...
:
Depends on:
Blocks: svg
  Show dependency treegraph
 
Reported: 2007-02-05 23:54 UTC by Broken Arrow
Modified: 2012-02-21 11:12 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Broken Arrow 2007-02-05 23:54:27 UTC
The stretched text in the image is not rendered correctly on WMF sites, while it
is on a local install of rsvg 2.16.0. The horizontal and vertical scaling is not
respected. Possibly related to bug 3769.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-02-06 01:46:13 UTC
What version of rsvg is the WMF using?
Comment 2 Tim Starling 2007-04-18 22:40:56 UTC
Clarification from BrokenArrow: "the text is not centered and the last word
'TERRA' is missing".

Wikimedia is using rsvg 2.14.
Comment 3 Tim Starling 2008-10-14 04:53:42 UTC
Same with rsvg 2.22.0. 
Comment 4 Brion Vibber 2009-08-03 16:53:47 UTC
Assigning SVG bugs to Ariel -- need a cleanup pass to see what's fixed up by a librsvg upgrade, what can be resolved with fixes to our font configuration, what can be fixed on our end, and what still needs to be pushed upstream.
Comment 5 Ariel T. Glenn 2011-09-18 09:20:03 UTC
giving SVG bugs back to the pool.
Comment 6 Derk-Jan Hartman 2011-12-04 21:53:04 UTC
The image that was the source of this report was apparently deleted from it.wp.

Unable to assess if the problem still occurs.
Comment 7 Brion Vibber 2011-12-04 22:17:16 UTC
I've copied the deleted file to test.wikipedia (deleted as orphan/non-encyclopedic from it.wikipedia):

https://test.wikipedia.org/wiki/File:Vietato.svg

Looks like it does stretch vertically, but the text is not being shrunk to fit.

... however I don't think it's actually using proper facilities to shrink to fit -- it *is* being squished by a particular scale factor, but it's also trying to use the font-family 'Impact' which is a condensed font to begin with. Since this font is unavailable, it's defaulting to something like Helvetica which is much wider.

I'll consider this one FIXED as the requested scaling is happening, and there's no need to fix this particular image's font usage as it's not in use.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links