Module font

Source
Expand description

Provides everything regarding the used fonts.

Structs§

Font
Represents a Font stored in memory. By default it supports OTF and TTF fonts, with the create features woff and woff2 it also supports loading WOFF fonts.
FontSet
Manages multiple Fonts and selects the right one for each writing script used in the input text. Has to be built via the FontSetBuilder.
FontSetBuilder
Builds a FontSet

Type Aliases§

FontLoadingError
Error returned if font loading failed
FontLoadingResult
Result from FontLoadingError