FontMap

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

FontMap defines a set of font name substitutions that apply to fonts looked up/created from FontLib and FontProvider. By installing a map you can change fonts used by SWF/GFX files to refer to alternative fonts. For example, if the file makes use of the Helvetica font while your system only provides Arial, you can install it as a substitution by doing the following:

   Ptr<FontMap> pfontMap = *new GFx::FontMap;
   pfontMap->MapFont("Helvetica", "Arial");
   loader.SetFontMap(Map);
Classes
Class 
Description 
A font map entry. 
Enumerations
Enumeration 
Description 
Font flag combinations. 
Methods
Method 
Description 
FontMap constructor. 
Adds a font mapping. 
Obtains a font mapping. 
File

GFx_Loader.h