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
| MaxBytes | The configured shared byte budget |
|---|---|
| CurrentBytes | The tracked bytes retained by all four cache categories |
| FontEntries | Cached operating-system font-face resource count |
| ShapingEntries | Cached shaped-run count |
| OutlineEntries | Cached parsed TrueType outline-program count |
| ColorEntries | Cached lazy colour-font table-reader count |
| FontHits and FontMisses | Font-face resource lookup counters |
| ShapingHits and ShapingMisses | Shaped-run lookup counters |
| OutlineHits and OutlineMisses | Parsed outline-program lookup counters |
| ColorHits and ColorMisses | Colour-font table-reader lookup counters |
| Evictions | Entries removed by the shared least-recently-used policy |
See also
GetFontCacheInfo, SetFontCacheLimit, ClearFontCache, GetFontColorGlyph