Thomas DeWeese wrote:

I use Batik 1.5.1 and now I am testing Batik 1.6.
I have a problem with the TextNode. I have a class which extends
"org.apache.batik.gvt.TextNode". This class calls
super.setAttributedCharacterIterator(...).
When I use Batik 1.5.1 I see this TextNode but with Batik 1.6 I do not
see it.

Can anyone help?


   Sorry, I can't think of anything that would directly cause
this problem.  Can you give a little more information about
what you are doing?  What sort of an ACI are you building
(what properties do you set, etc)?

I found out that the problem is the method getPrimitiveBounds() in the class TextNode. It contains: primitiveBounds = textPainter.getBounds2D(this);

The value of "primitiveBounds" is null.
I create the AttributeCharacterIterator (aci) and maybe I have
to add something.

Thanks
Mathias Kalb

--
ProDatO Integration Technology GmbH
Hauptstrasse 60, 91054 Erlangen
http://www.prodato.de

Mathias Kalb, Dipl.-Inf. (FH)
mailto:[EMAIL PROTECTED]
fon: +49-9131-612877
fax: +49-9131-612881

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



Reply via email to