Java Abstract Window Toolkit (AWT)
Text characters shall be laid out by using proper glyphs, in a proper position. This is done before the text gets displayed. To manage the text layouts, these Java 2D mechanisms are used. Following is managed by the TextLayout:
1. Text layout
2. Hit detection
3. Highlighting To handle cases, the TextLayout gives these facilities.
1. Strings along with mixed fonts
2. Bidirectional text
3. Mixed languages
How can i...