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


GetFontName

The GetFontName 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, the GetFontName procedure returns, in the parameter theName, the name of the font family. If the font specified in the familyID parameter does not exist, theName contains an empty string.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro for the GetFontName procedure is
Trap macro
_GetFontName


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996