Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 4 - Font Manager


Using the Font Manager

You can use the Font Manager to take full advantage of the information that fonts contain about their widths and scaling possibilities and present this information to the user. The Font Manager provides routines that give your application control over selecting fonts and measuring the individual glyphs of the font. It also helps you to handle the coexistence of bitmapped and outline versions of fonts.

This section describes how to use the capabilities of the Font Manager in your program to handle tasks, including

To initialize the Font Manager, you must call the InitFonts procedure. Before calling InitFonts, you need to initialize QuickDraw by calling the InitGraf procedure, which is described in Inside Macintosh: Imaging.


Subtopics
Adding Font Sizes and Names to the Menu
Storing a Font Name in a Document
Getting Font Measurement Information
Favoring Outline or Bitmapped Fonts
Preserving the Shapes of Glyphs
Using Width Tables
Getting the System or Application Font ID
Using Fractional Glyph Widths and Font Scaling

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996