FontsetSimple

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

PangoFontsetSimple is a implementation of the abstract PangoFontset base class as an array of fonts.

When creating a PangoFontsetSimple, you have to provide the array of fonts that make up the fontset.

Constructors

Link copied to clipboard
constructor(language: Language)

Creates a new PangoFontsetSimple for the given language.

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>>
Link copied to clipboard
val pangoFontsetSimplePointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun append(font: Font)

Adds a font to the fontset.

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.

Link copied to clipboard
open fun size(): <Error class: unknown class>

Returns the number of fonts in the fontset.