OfficeFontSet class

One or more glyf-backed faces used when embedding PDF text.

CFF/FontFile3 faces are intentionally skipped — prefer TrueType/glyf candidates (or fall back to Helvetica for WinAnsi Latin).

Constructors

OfficeFontSet({SfntFont? primary, List<SfntFont> fallbacks = const <SfntFont>[]})
OfficeFontSet API.
const
OfficeFontSet.single(SfntFont? font)
Single-face sugar.
factory

Properties

embeddable → List<SfntFont>
Embeddable candidates (glyf table present), primary first.
no setter
fallbacks → List<SfntFont>
Additional faces tried in order after primary.
final
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
True when no faces were supplied.
no setter
primary → SfntFont?
Primary face (used first when it covers a code point).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

faceFor(int codePoint) → SfntFont?
First embeddable face with a non-zero glyph for codePoint.
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