FontStyleList

Description:

baFontStyleList returns a list of available styles for a TrueType font.

Platforms:

Windows

Usage:

Result = baFontStyleList( FontName )

Arguments:

String.
FontName is the name of the font.

Returns:

List.
Returns the list of font styles found.

Examples:

Director:
styleList = baFontStyleList( "Arial" )

Authorware:
styleList := baFontStyleList( "Arial" )
 

Notes:

This function is only applicable to TrueType fonts - other types of fonts will return an empty list. Only styles that are actually installed will be returned. Styles created on-the-fly by Windows will not.
 

See also:

baFontList
baFontInstalled
baInstallFont