What are the different ways that text can be rendered using Java 2D?
• java.awt.Graphics2D.drawString() draws a String of text using the current font and other rendering attributes. This is the most common and recommended API as it will automatically identify and properly handle complex scripts, Bidi etc. • java.awt.font.TextLayout object allows you to implement text editing yourself: it includes mixed styles, BIDI text layout, carets, highlighting, hit testing and many other features. • java.awt.font.
Related Questions
- If a midlet has a text file that contains all its language strings and this was Java Verified – would the midlet need to be retested (Java Verified) if a different language file were dropped in?
- What are the different ways that text can be rendered using Java 2D?
- How is text in J/CarnacPro different from Java 2D?