Important: The information in this document is obsolete and should not be used for new development.
Restrictions on the Use of 'FONT' Resources
Since some older applications only work with'FONT'
resources, you might need to create a'FONT'
resource to retain compatibility. If this is necessary, you need to follow these restrictions on'FONT'
resources that are part of a font family.
These restrictions ensure that both the 64K ROM found in older Macintosh computers and the newer 128K ROM versions of the Font Manager will associate the font family
- The font name and family name must be identical.
- The font ID and font family ID must be identical.
- The resource ID of the font must equal the number produced by concatenating the font ID times 128 with the font size. Remember that fonts stored in
'FONT'
resources are restricted to a point size of less than 128 and to a font ID in the range 0 to 255. The resource ID is computed by the following formula:
resourceID := (font ID * 128) + font size;
ID and point size with the proper corresponding'FONT'
resource ID, whether or not there is a family resource.