Back to API Reference
Class
UniTextFont.Core
Implements:IDisposable
Plain runtime for a font: owns face access, glyph tables, lookup dictionaries, curve cache and atlas pipeline. Constructable on worker threads (no Unity object lifecycle). Dispose instances constructed directly; a UniTextFont owns and disposes the runtime exposed by its asset.
Derived Types(1)
Types that inherit from UniTextFont.Core.
public FaceInfo FaceInfo{ get; set }public Dictionary<long,Glyph> GlyphLookupTable{ get }(varHash48, glyphIndex) → atlas-resident glyph. Lazy-built on first access.
Constructs an independently owned runtime from font bytes and the rendering settings normally supplied by the UniTextFont wrapper. The byte array is shared without copying and must not be modified while the runtime is alive. Safe to call from worker threads; the caller must dispose it.
protected IntPtr EnsureFTFace()public virtual UniTextFontError LoadFontFace()protected List<uint> FilterNewGlyphs()