Chapter 7. Advanced Text Layout

Chapter 6, described the basics of text rendering. This chapter dives deeper into the same subject. First, I'll talk about the TextLayout class, which provides support for rendering and editing text. The rest of the chapter is devoted to glyph-level manipulation with the GlyphVector and GlyphMetrics classes, which is useful if you want to implement custom text layout algorithms.

Get Java 2D Graphics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.