FontLib

FontLib
Scaleform::GFx::State
    Scaleform::GFx::FontLib
Declaration
class FontLib : public State;
Description

Font library control. GFxPlayer is able to substitute fonts from the Font library, in case a movie lacks glyphs for a declared Font. This would come into play since in recent versions of SWF, the movie is allowed to use "system fonts". E.g. it can declare a Font named "Arial", but not provide glyphs for it, and then the OS is expected to provide the Font or a suitable replacement. 

GFxPlayer does not try to handle this automatically; if your host program wants to emulate this behavior, it needs to load a movie that includes glyph information for the standard fonts you want, and then explicitly pull those fonts out of the MovieDef and add them to fontlib. 

Classes
Class 
Description 
Combines a font resource with the MovieDef which it came from. 
Methods
Method 
Description 
Adds fonts from MovieDef to the font library. 
Determines if all font movies are completely loaded or not. 
Finds or creates a font of specified style by searching all of the registered MovieDef objects. 
FontLib Constructor. 
Loads all available font names into the destination array that serves as the font library. 
 
File

GFx_FontLib.h