FontMapImpl
The FontMapImpl type represents a native instance of the abstract FontMap class.
Constructors
Functions
Link copied to clipboard
Creates a PangoContext
connected to @fontmap.
Link copied to clipboard
Gets a font family by name.
Link copied to clipboard
Load the font in the fontmap that is the closest match for @desc.
Link copied to clipboard
Load a set of fonts in the fontmap that can be used to render a font matching @desc.
Link copied to clipboard
open fun reloadFont(font: Font, scale: <Error class: unknown class>, context: Context? = null, variations: String? = null): Font
Returns a new font that is like @font, except that its size is multiplied by @scale, its backend-dependent configuration (e.g. cairo font options) is replaced by the one in @context, and its variations are replaced by @variations.