HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Data Fields
v1::font::substitution_and_kerning_type Struct Reference

Data Fields

glyph_id glyph
 The glyph.
 
vector2 advance
 The advance in font-unit coordinate system.
 

Field Documentation

◆ advance

vector2 v1::font::substitution_and_kerning_type::advance

The advance in font-unit coordinate system.

On input: the original advance for the glyph On output: the advance adjusted by kerning, or the partial advance of the character within a ligature. All advances of a ligature added together will be the total advance of the full ligature including kerning.

◆ glyph

glyph_id v1::font::substitution_and_kerning_type::glyph

The glyph.

On input: the original glyph On output: the substituted glyph, possibly a ligature glyph. Or empty if this glyph was substituted by a previous ligature.


The documentation for this struct was generated from the following file: