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 / Font Manager Reference
Routines / Getting Font Information


GetFNum

The GetFNum procedure gets the font family ID for a specified font family name.

PROCEDURE GetFNum (theName: Str255; VAR familyID: Integer);
theName
The font family name.
familyID
On output, this parameter contains the font family ID for the font family specified in theName.
DESCRIPTION
Given a font name, the GetFNum procedure returns, in the familyID parameter, the font family ID for the font family. If the font specified in the parameter theName does not exist, familyID contains 0.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro for the GetFNum procedure is
Trap macro
_GetFNum


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996