The API docs for java.awt.Font.layoutGlyphVector(...) have a slight bug.
The underlying text reads:
Returns a new
GlyphVector object, performing full
layout of the text if possible. Full layout is required for
complex text, such as Arabic or Hindi. Support for different
scripts depends on the font and implementation.
Bidi, and should only be performed on text that
has a uniform direction.
This is confusing. It says that layout requires bidi analysis, but then
appears to be saying that if, following this analysis, there is any
mixed bidi text, you can't use layoutGlyphVector. Is this correct? Does
this mean that I must perform the bidi analysis, then iterate through
the paragraph, calling layoutGlyphVector on each of the fragments in turn?
Peter B. West
[This E-mail has been scanned for viruses but it is your responsibility
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]
To unsubscribe, send email to firstname.lastname@example.org and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
email@example.com and include in the body of the message "help".