Font
Fields
- family:[NAME_MAX_LEN:0]u8
Changing any of these might query for a font.
- size:f32
Height of a capital M in logical pixels. After converting to physical
- weight:Weight
- Weight
- style:Style
- Style
- line_height_factor:f32
Can be changed for any font, no query.
- underline:?Underline
- ?Underline
- strike:?Strike
- ?Strike
Types
Namespaces
Functions
- hash
Fonts that hash the same value use the same glyphs (same Font.Entry).
- findSource
Only valid between Window.begin/end
- textSize
handles multiple lines
- textSizeEx
textSizeEx always stops at a newline, use textSize to get multiline sizes