Last modified: 2012-10-26 12:04:44 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 T25574, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23574 - SVGs with tspan that have multiple x or y coordinates don't render properly
SVGs with tspan that have multiple x or y coordinates don't render properly
Status: RESOLVED DUPLICATE of bug 33245
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: upstream
: 24916 (view as bug list)
Depends on:
Blocks: svg
  Show dependency treegraph
 
Reported: 2010-05-18 00:31 UTC by Smallman
Modified: 2012-10-26 12:04 UTC (History)
5 users (show)

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


Attachments
add rendering of this issue after the recent librsvg update (267.30 KB, image/png)
2011-12-04 21:07 UTC, Derk-Jan Hartman
Details

Description Smallman 2010-05-18 00:31:22 UTC
It appears that text isn't being thumbnailed correctly as seen at http://en.wikipedia.org/wiki/Wikipedia:Vpt#SVG_rendering_problem 
with the image at
http://commons.wikimedia.org/wiki/File:ISS_components.svg

If this isn't a bug...please tell me how to fix the SVG. Thanks!
Comment 1 Derk-Jan Hartman 2010-11-04 04:34:13 UTC
Solution for Wikipedia is not to use tspan's but only plain <text> elements. tspans are rather broken in librsvg.
Comment 2 Jarry1250 2011-03-19 20:09:54 UTC
*** Bug 24916 has been marked as a duplicate of this bug. ***
Comment 3 Derk-Jan Hartman 2011-12-04 21:07:02 UTC
After the recent update, the font size issue with tspans seems to have significantly improved. The position of tspans however still seems rather broken if you look at the earlier versions of this file.
Comment 4 Derk-Jan Hartman 2011-12-04 21:07:54 UTC
Created attachment 9610 [details]
add rendering of this issue after the recent librsvg update
Comment 5 Derk-Jan Hartman 2012-10-26 12:01:29 UTC
Reduced the remaining problem to the usage of 

<tspan x="186.25751 191.67688 196.19438 202.06062 206.57813" y="326.65219">Power</tspan>

Converting the x coordinate from a list of coords to a single coordinate makes the text element positioned properly in the png render:

<tspan x="186.25751" y="326.65219">Power</tspan>

This issue has not been filed upstream yet.
Comment 6 Derk-Jan Hartman 2012-10-26 12:04:44 UTC

*** This bug has been marked as a duplicate of bug 33245 ***

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


Navigation
Links