Important: The information in this document is obsolete and should not be used for new development.
GetFontName
TheGetFontName
procedure gets the name of a font family that has a specified family ID number.
PROCEDURE GetFontName (familyID: Integer; VAR theName: Str255);
familyID
- The font family ID.
theName
- On output, this parameter contains the font family name for the font family specified in
familyID
.DESCRIPTION
Given a font family ID, theGetFontName
procedure returns, in the parametertheName
, the name of the font family. If the font specified in thefamilyID
parameter does not exist,theName
contains an empty string.ASSEMBLY-LANGUAGE INFORMATION
The trap macro for theGetFontName
procedure is
Trap macro _GetFontName