venice
The above table is a bit-image of the fonts having symbolic constants
listed in Inside Mac and the sample is of that font.
The following figure shows the fonts as they appear in your system as
it is currently configured, when each font number is used in a call to
both figures, then your system is fully configured to display all fonts
identfied by system- defined constants.
Constant Value Sample (as it appears on your system)
systemFont 0 AaBbCcDdEeFfGg
applFont 1 AaBbCcDdEeFfGg
newYork 2 AaBbCcDdEeFfGg
geneva 3 AaBbCcDdEeFfGg
monaco 4 AaBbCcDdEeFfGg
london 6 AaBbCcDdEeFfGg
athens 7 AaBbCcDdEeFfGg
sanFran 8 AaBbCcDdEeFfGg
toronto 9 AaBbCcDdEeFfGg
cairo 11 AaBbCcDdFfG
losAngeles 12 AaBbCcDdEeFfGg
times 20 AaBbCcDdEeFfGg
helvetica 21 AaBbCcDdEeFfGg
courier 22 AaBbCcDdEeFfGg
symbol 23 AaBbCcDdEeFfGg
mobile 24 AaBbCcDdEeFfGg
If you know the name of a font, use GetFNum to obtain its font ID number. Use TextFont to select a different font for subsequent text drawing. Or you can store a font number into the txFont field of the
current grafPort.
Font Talk
The applFont value, like systemFont, is an indirect reference to an actual font. You can modify its value via a call to GetSysPPtr and you can set it permanently via WriteParam. Oddly there is no way to set this via the Control Panel DA. By default applFont is Geneva, as shown above.
Monaco is a standard mono- spaced font (a font which lines up in columns
without the headache of messing with tab stops)
A minimal font set, found on all Macs includes:
Chicago 12-pt (the system font used in menus)
Geneva 9-pt (used by the Finder to display file names, et.al)
Geneva 12-pt (used by Control Panel DA, et.al; default applFont)
Monaco 9-pt (mono spaced; used by debuggers, et.al)
The system comes with a variety of other fonts, including all those having
defined constants (except possibly mobile), often in various sizes.
However, it is possible for a user to remove most fonts from the system
resource file -- removing fonts minimizes the disk space and memory
requirements of the system.