![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FontCacheFreeType.h>
Provides low-level glyph caching to avoid repeated calls to FT_Load_Glyph (see FCachedGlyphData). Most of the data cached here is required for HarfBuzz, however a couple of things (such as the baseline and max character height) are used directly by the Slate font cache. Feel free to add more cached data if required, but please keep it in native FreeType format where possible - the goal here is to avoid calls to FT_Load_Glyph, not to perform data transformation to what Slate needs.