Important: The information in this document is obsolete and should not be used for new development.
GetFNum
TheGetFNumprocedure 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, theGetFNumprocedure returns, in thefamilyIDparameter, the font family ID for the font family. If the font specified in the parametertheNamedoes not exist,familyIDcontains 0.ASSEMBLY-LANGUAGE INFORMATION
The trap macro for theGetFNumprocedure is
Trap macro _ GetFNum