Hi Helder,

> Yes, a previous thread [1] seems to point towards that direction. I'd
> take this opportunity to challenge you to consider contributing this
> feature into the Batik framework, instead of implementing it for your
> particular case. :-)

I'd be happy to contribute such a change if I can get it to work.  What I
have in mind though may not be what you are thinking of.  I am thinking that
the text field would still display the text as it does now but when the user
clicks on it a JTextField is created on the fly in the same position and is
used for the editing.  For this to work I would need to be able to query the
canvas to determine the position of the field in screen coordinates and also
the size and properties of the scaled font and then use this information to
create the JTextField with the same properties.

Is this what you had in mind?  Is all that information acquirable from
querying the canvas?

> I'm sure there is demand for this very useful feature, specially now
> that other implementations (such as Opera) implement it.

Agreed, and Batik should implement it to.  I want Batik to be like a
"reference implementation" of SVG.
 
Cheers,

-JCT


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

Reply via email to