You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "J. David Eisenberg" <ca...@catcode.com> on 2001/07/08 20:00:01 UTC

bug?

Or just user head gap error?

The following should give me the chemical formula for water, followed by
Einstein's famous equation.  However, after each <tspan>, the letters
don't return to the original baseline; I get permanent subscript and
superscript.  This is using Batik 1.0 and Mandrake Linux 7.2 and
JDK 1.3

<text x="10" y="30" style="font-size:12pt;">
    H<tspan dy="4">2</tspan>O
    and e=mc<tspan dy="-4">2</tspan>.
</text>

If I read the spec correctly in section 10.5, the dy attribute should
affect only the text within the <tspan>. Also submitted as Bugzilla #2501.
---
J. David Eisenberg  http://catcode.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Re: bug?

Posted by Dean Jackson <de...@w3.org>.
Thomas verified this is a bug yesterday. Unfortunately
Bella is from far North Queensland and is therefor genetically required to
take a holiday during the cold Canberra winter. She'll be back
on Monday.

Dean


On Sun, 08 Jul 2001, J. David Eisenberg wrote:

> Or just user head gap error?
> 
> The following should give me the chemical formula for water, followed by
> Einstein's famous equation.  However, after each <tspan>, the letters
> don't return to the original baseline; I get permanent subscript and
> superscript.  This is using Batik 1.0 and Mandrake Linux 7.2 and
> JDK 1.3
> 
> <text x="10" y="30" style="font-size:12pt;">
>     H<tspan dy="4">2</tspan>O
>     and e=mc<tspan dy="-4">2</tspan>.
> </text>
> 
> If I read the spec correctly in section 10.5, the dy attribute should
> affect only the text within the <tspan>. Also submitted as Bugzilla #2501.
> ---
> J. David Eisenberg  http://catcode.com/
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org