Thomas DeWeese wrote:
Mathias Kalb wrote:
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.
Do you provide a TextPaintInfo property for the ACI? with
a non-null fill or stroke?
Yes, I create the following TextPaintInfo.
TextPaintInfo paintInfo = new TextPaintInfo();
paintInfo.fillPaint = inheritedFillColor;
paintInfo.strokePaint = inheritedStrokeColor;
paintInfo.strokeStroke = inheritedStroke;
And the values are:
inheritedFillColor = a Color-Object
inheritedStrokeColor = null
inheritedStroke = a BasicStroke-Object
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]