UniTextFontProvider
Owns codepoint→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 runtime per codepoint, and stores Core instances so worker-thread companions and the emoji singleton (both plain Core, no Unity asset) flow through the same code path.
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.
Stable font identifier from a UniTextFont asset.
public Core GetFontAsset()Resolves a font id to its registered runtime. Falls back to PrimaryFont if unknown.
