FontFamily

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

A PangoFontFamily is used to represent a family of related font faces.

The font faces in a family share a common design, but differ in slant, weight, width or other aspects.

Skipped during bindings generation

  • parameter faces: faces: Out parameter is not supported

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

Functions

Link copied to clipboard
open fun getFace(name: String? = null): FontFace?

Gets the PangoFontFace of @family with the given name.

Link copied to clipboard
open fun getName(): String

Gets the name of the family.

Link copied to clipboard
open fun isMonospace(): Boolean

A monospace font is a font designed for text display where the the characters form a regular grid.

Link copied to clipboard
open fun isVariable(): Boolean

A variable font is a font which has axes that can be modified to produce different faces.