UniTextFontProvider
Owns Unicode-sequence font resolution for a text object: composes the family chain from the assigned font and font stack, walks it (plus emoji and the always-on SystemFont fallback) to pick a covering runtime and exact variation instance when available, and otherwise returns the primary runtime as the intentional.notdef endpoint. Asset-backed faces are captured as worker-safe lazy slots; bare runtime companions and the emoji singleton flow through the same resolution path. The owner must dispose the provider after all processing and raster work finishes.
public static FontVariationMemoryStats VariationMemoryStats{ get }Returns a consistent snapshot of exact variation registrations and their ownership.
public Core PrimaryFont{ get }Resolved primary font runtime. Provides strut metrics and serves as the head of codepoint resolution.
Initializes the provider. The resolution chain is primary (if set), then fontStack's families, then Default (the configured SystemFont or the OS default) as the always-on final fallback. With nothing assigned, Default becomes the primary. Main-thread only.
Per-font multiplier matching a fallback/secondary font to the primary font's reference metric (CSS font-size-adjust). Derived from the runtime alone, so every id addressing one runtime — base or variation instance — yields the same multiplier. Returns 1 when normalization is off, the font is the primary, the font opts out, or a metric is unavailable.
Process-lifetime font identity from a UniTextFont asset.
public Core GetFont()Resolves a font id to its registered runtime, or null when the id has no owner in this provider.
