Fontset

open class Fontset(pointer: <Error class: unknown class><<Error class: unknown class>>)

A PangoFontset represents a set of PangoFont to use when rendering text.

A PangoFontset is the result of resolving a PangoFontDescription against a particular PangoContext. It has operations for finding the component font for a particular Unicode character, and for finding a composite set of metrics for the entire fontset.

Inheritors

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val pangoFontsetPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun foreach(func: FontsetForeachFunc)

Iterates through all the fonts in a fontset, calling @func for each one.

Link copied to clipboard
open fun getFont(wc: <Error class: unknown class>): Font

Returns the font in the fontset that contains the best glyph for a Unicode character.

Link copied to clipboard

Get overall metric information for the fonts in the fontset.