struct
CharacterInformation
Describes a single character in a font of a specific size.
Public
Fields
CharId
u32 CharId
Character ID, corresponding to a Unicode key.
XOffset
float XOffset
Offset for the visible portion of the character in pixels.
YOffset
float YOffset
Offset for the visible portion of the character in pixels.
XAdvance
float XAdvance
Determines how much to advance the pen after writing this character, in pixels.
YAdvance
float YAdvance
Determines how much to advance the pen after writing this character, in pixels.
PointSize
float PointSize
Size in points that the character was generated from.
May be 0 if glyph was generated using pixel width/height.
KerningPairs
Vector<KerningPair> KerningPairs
Pairs that determine if certain character pairs should be closer or father together. for example "AV" combination.
DynamicLayoutAllocation
TOptional<TreeTextureAtlasLayout::Allocation> DynamicLayoutAllocation
Handle to the character allocation in the texture atlas.
Can be used for freeing the allocation.