>    It is not a known bug that Batik calculates the BBox of
> text elements incorrectly.

Well, there seems to exist a small issue [1] for a combination of
leading/trailing spaces and "xml:space" set to "preserve" which was
raised a couple of months ago. Thomas has inclusively actually
contributed with a possible workaround (getEndPositionOfChar) [2]. ;-)

May this be what you are experiencing, Bruno?

Hope this helps,

 Helder

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=46127
[2] http://www.nabble.com/Define-String-Width-with-bounding-box-td20228931.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to