Carbon


GetDefFontSize

Header: Fonts.h Carbon status: Supported

Determines the default size of the system font.

SInt16 GetDefFontSize ();
function result

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.

DISCUSSION

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

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.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)