I am using the flowtext extensions and have the identical requirement and was wondering if anyone had figured out a way to determine if text had not been rendered (in other words flowed outside the region).
An event that notifies me of this would be nice but I would be happy to iterate over the text and querying some form of 'visibility' attribute....Kevin


Swapan Golla wrote:

>       I am using the flowText extensions and want to
> create a multi page svg document. I am continuosly
> rendering text and sometime the content doesnt fit in
> a single page. Is there any way to know that I have
> reached the end of the current page and I need to
> start a new page ?

   Yes there is some way, but it isn't exactly
simple.  In batik.gvt.text.GlyphLayout.textWrapTextChunks
there are two places where it iterates over the remainder
of the glyphs setting them invisible, both of these indicate
that not all of the text fit in the available text regions.

   The real question I guess I would have is how in the world
would it notify you that stuff didn't fit in the flow region?





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



Reply via email to