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 / Using the Current, System, and Application Fonts


GetDefFontSize

The GetDefFontSize function determines the default size of the system font.

FUNCTION GetDefFontSize: Integer;
DESCRIPTION
The GetDefFontSize function returns the current value of the global variable SysFontSize if that value is not 0. If the value of SysFontSize is 0, GetDefFontSize returns 12 as the default font size.

At system startup, the value of SysFontSize is set to 0.

SEE ALSO
You can determine the preferred size for either the system font or the application font of any enabled script system by calling the GetScriptManagerVariable function. See the chapter "Script Manager" in this book.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996