Custom

class Custom(val name: String, val bytes: ByteArray) : PdfFont

A font supplied as TTF/OTF bytes. The name is used to register the font with the platform on first use and to look it up on subsequent draws — pick a unique name per font face.

Constructors

Link copied to clipboard
constructor(name: String, bytes: ByteArray)

Properties

Link copied to clipboard
Link copied to clipboard
open override val key: String

Stable identifier used for caching the resolved platform font.

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String