Hello Oleg,

You may also want to have a look at:

batik.gvt.text.BidiAttributedCharacterIterator

as it may provide a least some of the low level functionality you want.

Also, if you can rely on JDK 1.4, you could use the java.text.Bidi class that should provide the functionality you need.

Vincent.

Thomas E Deweese wrote:
"OT" == Oleg Tkachenko <[EMAIL PROTECTED]> writes:

OT> In fop team we are considering now how to implement bidi support
OT> in fop and one of ideas is somehow to make use of batik's bidi
OT> implementation. What do you think about it, is it feasible?

    I guess I don't know enough about FOP to say.

    There are a few 'SVG specific' things that are part of text layout
in Batik (like text on a path), that might make it a bit more
difficult than ideal.

    What sort of API are you hoping for, what do you provide what do
you want back?

    For pointers to code, take a look at:

    ...batik.gvt.renderer.StrokingTextPainter
    ...batik.gvt.text.GlyphLayout

    GlyphLayout probably has most of the reusable code in it.  Note
that currently Batik does not doe BIDI text wrapping (although once
the SVG Working Group narrows in on exactly how they want to do this
it may be added).  This may significantly reduce it's utility for you.

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




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

Reply via email to