Font

Font
Scaleform::Render::Font
Declaration
class Font : public RefCountBase<Font, StatRender_Font_Mem>;
Description

Font is an abstract base class for system and built-in fonts.

Enumerations
Enumeration 
Description 
An enumeration listing the flags for specifying the fonts. 
An enumeration used in external font providers indicating the range of native fonts used. 
Methods
Method 
Description 
Determines whether the fonts are Unicode characters. 
Determines whether the fonts are wide character codes or not. 
Font 
Font constructor. 
Returns the horizontal advance value in font units. 
Returns the maximum unaccented height of the font. 
Returns a string with all character ranges of the font in the following format: “0xNNNN-0xNNNN,0xNNNN-0xNNNN”. 
Returns the UCS-2 character value associated with a glyph index. 
Obtains the code pages supported by a font. 
Obtains the flags created for the font. 
Returns the maximum unaccented depth of the font. 
Returns the font flags used for the font. 
Obtains the font style flags which are used for matching a font. 
Retrieves the bounds of glyph in a font. 
Obtains the height of the glyph. 
Maps a UTF_16 code to the glyph index. 
Obtains the raster glyphs, either pre-rasterized or rasterized by demand, provided by some fonts. 
Returns the number of glyph shapes, mostly used for font packing. 
Obtains the width of the glyph. 
Obtains the kerning value between the given characters. 
Returns the leading of the font. 
Returns the full font name, such as "Times New Roman". The name can be UTF-8 encoded. 
Returns the default height for non-existing glyph indices. 
Returns the default width for non-existing glyph indices. 
Returns the lower case auto hinting characters in the font if any. 
Returns the permanently available glyph shapes. 
Obtains the temporary glyph shapes; mostly used in external font providers. 
Returns the texture glyph. 
Returns the abstract texture glyph data. 
Returns nominal texture glyph nominal height. 
Determines whether the glyph shapes are stripped. 
Returns the upper case auto hinting characters in the font if any. 
Determines whether font layout is used. 
Determines whether native hinting is used on the font. 
Determines whether the font has vector or raster glyphs. 
Checks if the font contains texture glyphs. 
Determines whether the font is bold or not. 
Returns true if the character is a CJK (Chinese, Japanese, Korean) 
Determines whether the font is a system device font or not. 
Determines whether the raster font glyph is native hinted or not. 
Determines whether the vector font glyph is native hinted or not. 
Determines whether the font is italic or not. 
Determines whether the font is bitmap fonts. 
Determines whether glyphs are missing from the font. 
Determines whether the font has raster glyphs only. 
Determines whether the font is resolved through FontLib or FontProvider
Matches the font against the specified name and flags. 
Matches the font against the specified flags. 
Matches two sets of flags. 
Matches font name and type for substitution purposes. 
Sets the flag (FF_NotResolved) for resolving the fonts through FontLib or FontProvider
Sets the abstract texture glyph data. 
Structures
Structure 
Description 
An enumeration used in external font providers indicating the native hinting types. 
File

Render_Font.h