Legacy Documentclose button

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

Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 4 - Font Manager / Font Manager Reference
Data Structures


The Font Association Table Record

The font association table record, which is part of the font family resource, maps a point size and style to a specific font that is part of the family. The table record, of data type FontAssoc, consists of a count of the entries in the table and is followed by the entry records.

TYPE FontAssoc = 
RECORD
   numAssoc:   Integer;    {number of entries - 1}
   {entries:   ARRAY[0..n] of AsscEntry;}
END;
Each entry in the font association table is a font association entry record, of data type AsscEntry.

TYPE AsscEntry =
RECORD
   fontSize:   Integer;    {point size of font}
   fontStyle:  Integer;    {style of font}
   fontID:     Integer;    {font resource ID}
END;
The fields of the font association table and font association table entry record are described in the section "The Font Association Table," beginning on page 4-89.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice