Documentation Archive Developer
Search

ADC Home > Reference Library > Technical Q&As > Legacy Documents > Text & Fonts >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Maximum number of fonts


Q: What is the maximum number of fonts that can be installed in the Fonts folder with Mac OS 9?

A: Mac OS 9 supports up to 1,024 font suitcase files in the Fonts folder. But until Mac OS 8.6, the limit was 128 font suitcase files. Note that this is the number of font suitcase files, not the actual number of font families displayed in the font menu. The increase in the number of supported font suitcase files is due to a change in the way FCBs are handled starting with Mac OS 9. For details, see Technote 1184 "FCBs, Now and Forever"

As in the past, you can install multiple font families per font suitcase file. However, the realistic limit is approximately 1800 font families. This is an operational limit set by the Menu Manager (a menu's maximum height is limited to 16,384 or 215 pixels).

If the user only has 32 MB of physical RAM, the limit of 1,800 font families may not be reached. The Font Manager doesn't have hard limits on the number of font families, but it does have a limited amount of space for its bookkeeping. This space is shared among font files, font families, and outline font strikes. The amount of space allocated depends on the amount of physical RAM present. For every 32MB of RAM,the system will allocate 256K, up to a maximum of 1MB.

It's hard to translate these heap sizes into hard limits on the number of fonts the system can handle. That total is sensitive both to the structure of the fonts as well as the order in which the system sees them. But under normal circumstances the range is about 700-1,800 font families.

Another limitation is that each script (with the exception of U.S. Roman) can only support up to 512 font families. For example, the Japanese version of the Mac OS can support up to 512 Japanese font families and 1,288 (1,800 minus 512) U.S. Roman font families. (Of course, the limit of 1024 font suitcases still applies.)

[Jan 04 2000]