struct FontBitmapInformation

Contains information about font characters rendered into one or multiple bitmaps, for specific font size.

Public

Methods

GetCharacterInformation

const CharacterInformation &GetCharacterInformation(u32 characterId) const

Returns a character description for the character with the specified Unicode key.

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

RTTIType *GetRtti() const override

Returns an interface you can use to access class' Run Time Type Information.

Fields

Size

float Size

Font size for which the bitmaps are rendered.

BaselineOffset

float BaselineOffset

Y offset to the baseline on which the characters are placed, in pixels.

LineHeight

float LineHeight

Height of a single line of the font, in pixels.

MissingGlyph

Character to use when data for a character is missing.

SpaceWidth

float SpaceWidth

Width of a space in pixels.

Characters

UnorderedMap<u32, CharacterInformation> Characters

All characters in the font referenced by character ID.