Font

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

A PangoFont is used to represent a font in a rendering-system-independent manner.

Skipped during bindings generation

  • method get_features: In/Out parameter is not supported

  • parameter glyph: Glyph

  • method get_languages: Array parameter of type Language is not supported

  • parameter descs: Array parameter of type FontDescription is not supported

  • parameter context: C Type PangoContext is ignored

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 pangoFontPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Returns a description of the font, with font size set in points.

Link copied to clipboard

Returns a description of the font, with absolute font size set in device units.

Link copied to clipboard
open fun getCoverage(language: Language): Coverage

Computes the coverage map for a given font and language tag.

Link copied to clipboard
open fun getFace(): FontFace

Gets the PangoFontFace to which @font belongs.

Link copied to clipboard
open fun getFontMap(): FontMap?

Gets the font map for which the font was created.

Link copied to clipboard
open fun getMetrics(language: Language? = null): FontMetrics

Gets overall metric information for a font.

Link copied to clipboard
open fun hasChar(wc: <Error class: unknown class>): Boolean

Returns whether the font provides a glyph for this character.

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

Serializes the @font in a way that can be uniquely identified.