Back to API Reference
Class
EmojiFont
Font asset specialized for color emoji rendering using FreeType or browser APIs.
Remarks
EmojiFont extends UniTextFont to provide native color emoji support across all platforms. It uses FreeType for desktop/mobile and browser Canvas API for WebGL. The class provides a singleton
Instance that automatically loads the system emoji font. Custom emoji fonts can be created via factory methods. Key features: Automatic system emoji font detection on Windows, macOS, iOS, Android, Linux Dynamic atlas population with shelf-based packing Parallel glyph rendering using FreeType face pool WebGL support via browser Canvas 2D renderingpublic static EmojiFont CreateFromPath(string fontPath, int faceIndex, int pixelSize)Creates an emoji font from a file path.
public static EmojiFont CreateFromData(byte[] fontData, int faceIndex, int pixelSize, string sourceName)Creates an emoji font from raw font data bytes.
public override UniTextFontError LoadFontFace()public static Action DisableChangedRaised when the Disabled property changes.
