RasterFont class final Ultraviolet

Static TrueType font faces for native terminal captures.

Bytes are copied. Fonts need TrueType outlines, a Unicode cmap, and fixed-width printable ASCII metrics. CFF, variable fonts, and color-font tables are not supported. Missing style variants are diagnosed when used; regular faces are never silently substituted.

Constructors

RasterFont.fromTtf(Uint8List regular, {Uint8List? bold, Uint8List? italic, Uint8List? boldItalic})
Parses caller-supplied static TrueType faces without filesystem access.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited