On Tue, 24 Jul 2001 [EMAIL PROTECTED] wrote:

> Hi,
> 
> I've had a look at this and I don't believe it's a bug.
> The dx and dy tspan attributes simply adjust the 
> "current text position" and the adjustment is not reversed
> when a tspan ends. If you have a look at the "But you are a
> peach!" tspan example in the spec, the "a peach!" position
> is relative to the previous tspan.
> Batik used to have a bug where this adjustment was lost 
> sometimes, but I fixed this a while ago. 

Well, if that's the way it works, that's the way it works. The spec is
possibly ambiguous, then, when it says about dx (and dy working in a
corresponding manner): 

  "If a single <length> is provided, this value represents the new
relative X coordinate for the current text position for rendering the
glyphs corresponding to the first character within this element or any of
its descendants..."

What bothers me, I guess, is that the child <tspan> can end, but it still
has an impact on the subsequent characters of the parent element.  This
happens almost nowhere else in SVG; when a child element ends, its
attributes normally are not visited upon the parent. 

---
J. David Eisenberg  http://catcode.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to