Class fever.data.libs.FontLibLocator

Description

Fonts repository.

Field Index

ALL_FONTS, EMBEDED_FONTS, SYSTEM_FONTS

Method Index

getFontList(), isRegistered(), register(), unregister()

Field Detail

ALL_FONTS

static public ALL_FONTS:Number
Retreives all available fonts.

SYSTEM_FONTS

static public SYSTEM_FONTS:Number
Retreives font system.

EMBEDED_FONTS

static public EMBEDED_FONTS:Number
Retreives embeded font.

Method Detail

isRegistered

static public function isRegistered(name:String):Boolean

Returns true if passed-in name font is registred in locator.

register

static public function register(name:String):Void

Registers passed-in name font.

unregister

static public function unregister(name:String):Void

Unregisters FontLib registred with passed-in sName id.

getFontList

static public function getFontList(type:Number):Array

Returns available font list in current application.

Parameters

typeFont list filter, valid value is :

Return

Array