Important: The information in this document is obsolete and should not be used for new development.
GetFontName
TheGetFontNameprocedure 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, theGetFontNameprocedure returns, in the parametertheName, the name of the font family. If the font specified in thefamilyIDparameter does not exist,theNamecontains an empty string.ASSEMBLY-LANGUAGE INFORMATION
The trap macro for theGetFontNameprocedure is
Trap macro _GetFontName