Chapter 11. Drawing Text with Quartz 2D

With the powerful graphics capabilities of Quartz 2D, one of the most remarkable statements to make about the library is that, on its own, Quartz 2D is not a very good tool for drawing text. The key to that statement is the qualifier “on its own.” In a modern, multinational operating system like Mac OS X, the entire process of displaying it can be a very complex. Drawing the text is only the last phase of that process and that is the part where Quartz 2D comes into play.

This chapter presents a short overview of how Mac OS X displays text. The goal is not to cover the entire text pipeline in detail, but to offer some context (no pun intended) to help understand where Quartz 2D fits into the text drawing pipeline. ...

Get Quartz 2D Graphics for Mac OS X® Developers 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.