TPDFlibFontCacheInfo

Data types, fonts, diagnostics

Description

Reports the shared font-cache budget, occupancy, category counts, hit and miss counters and LRU eviction count

Declaration

TPDFlibFontCacheInfo= Record
MaxBytes: Int64;
CurrentBytes: Int64;
FontEntries: Integer;
ShapingEntries: Integer;
OutlineEntries: Integer;
ColorEntries: Integer;
FontHits: Int64;
FontMisses: Int64;
ShapingHits: Int64;
ShapingMisses: Int64;
OutlineHits: Int64;
OutlineMisses: Int64;
ColorHits: Int64;
ColorMisses: Int64;
Evictions: Int64;
End;

Fields

MaxBytesThe configured shared byte budget
CurrentBytesThe tracked bytes retained by all four cache categories
FontEntriesCached operating-system font-face resource count
ShapingEntriesCached shaped-run count
OutlineEntriesCached parsed TrueType outline-program count
ColorEntriesCached lazy colour-font table-reader count
FontHits and FontMissesFont-face resource lookup counters
ShapingHits and ShapingMissesShaped-run lookup counters
OutlineHits and OutlineMissesParsed outline-program lookup counters
ColorHits and ColorMissesColour-font table-reader lookup counters
EvictionsEntries removed by the shared least-recently-used policy

See also

GetFontCacheInfo, SetFontCacheLimit, ClearFontCache, GetFontColorGlyph