Developer Resources

SystemFonts

Overview

The SystemFonts class provides access to system fonts.

Properties

SystemFonts.AnsiFixedFont
Windows fixed-width font.
SystemFonts.AnsiVariableFont
Windows variable-width font.
SystemFonts.DefaultFont
Default font.
SystemFonts.OemFixedFont
Original equipment manufacturer fixed-width font.
SystemFonts.SystemFont
System font.
SystemFonts.SwissFont
Swiss font.

Methods

SystemFonts.getInstalledFonts
Returns an array of the installed font facenames.

SystemFonts.getInstalledFonts

static function SystemFonts.getInstalledFonts() : Array(String)

Returns

An array containing string values which represent the facenames of all the fonts that are installed on the system.

Description

Returns an array of the installed font facenames.