zephyrer / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

dx/dy attributes on tspan not working #581

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Give a tspan element a dy and/or dx attribute.

The text position should be advanced by the specified lengths. Instead, the 
content of the tspan is rendered at position 0 on the respective coordinate, as 
both dx/dy and the current text position are ignored.

Observed in SVG Web version 2010-08-10 “Owlephant”

Issue 439 - tspan without x,y attibutes positioned incorrectly - is related, 
since implementing dx/dy requires respecting the current text position.

See the attached file for a reduced test case.
See <http://frankbruder.fr.ohost.de/tragicomics/?+svgweb;title=expertise> for a 
webcomic which commonly uses x="0" dy="1em" to implement multi-lined text.

Original issue reported on code.google.com by f_bru...@web.de on 27 Nov 2010 at 3:37

Attachments:

GoogleCodeExporter commented 9 years ago
I added the missing support for dy to issue 443 some time ago, they may be 
merged
http://code.google.com/p/svgweb/issues/detail?id=443

Original comment by mneu...@gmail.com on 27 Nov 2010 at 7:41