Contents

Introduction to Font Handling

Explains the Cocoa font management system and how users select fonts.

Who Should Read This Document

You should read this document if you need to understand how the text system manages font objects, how the font manager works, and how to modify that behavior. If your application allows users to manipulate fonts, for example, especially if it goes beyond default Cocoa behavior, then you should read this document.

To understand the information in this programming topic, you should understand generally the text system’s capabilities and architecture, and you should understand basic Cocoa programming conventions.

Organization of This Document

These articles discuss working with NSFont objects:

These articles discuss working with the font manager:

See Also

For further reading, refer to the following documents:

  • Font Panel Programming Topics explains how the Font panel interacts with the text system.
  • Attributed String Programming Guide describes NSAttributedString objects, which manage sets of attributes, such as font and kerning, that are associated with character strings or individual characters.
  • Text Layout Programming Guide describes how the Cocoa text system converts strings of text characters, font information, and page specifications into lines of glyphs placed at specific locations on a page, suitable for display and printing.

For related reference information, see the following documents:

  • NSFont
  • NSFontManager
  • NSFontPanel

Next

Copyright © 1997, 2012 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2012-07-23