Back to API Reference
Class
UniTextSystemFont
sealed
Inherits:UniTextFont
UniTextFont that resolves its font bytes from the host OS at runtime from a per-platform pick (Common / Windows / macOS / Linux / iOS / Android). WebGL is unsupported.
Remarks
A regular font: it participates only when added to a font stack. Automatic gap-filling for codepoints no font covers is a separate, always-on mechanism — SystemFont — independent of this asset. The font and the weight of its cut are picked per platform; FaceInfo, SDF detail multiplier and tile-size offset can be overridden per platform. Each override defaults to an "unset" sentinel; unset overrides use values extracted from the loaded font. Glyph overrides are not supported — they reference indices specific to a particular font file, which a system font does not pin.
Nested Types
public UniTextSystemFont.FontPlatform ResolvedPlatform{ get }Platform tab whose configuration drove the resolution.
public UniTextSystemFont.PlatformConfig GetConfig(UniTextSystemFont.FontPlatform p)Returns the configuration for one platform tab.
public void SetConfig(UniTextSystemFont.FontPlatform platform, UniTextSystemFont.PlatformConfig value)Replaces one platform tab and invalidates the resolved operating-system font.
