TPDFlibFontCacheInfo
資料類型、字型、診斷
描述
回報共享字型快取的預算、佔用量、各類別數量、命中與未命中計數器,以及 LRU 逐出次數
宣告
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;參數
| MaxBytes | 已設定的共享位元組預算 |
|---|---|
| CurrentBytes | 四個快取類別保留的追蹤位元組數 |
| FontEntries | 快取的作業系統字型面資源數量 |
| ShapingEntries | Cached shaped-run count |
| OutlineEntries | Cached parsed TrueType outline-program count |
| ColorEntries | 快取的延遲彩色字型表讀取器數量 |
| FontHits and FontMisses | 字型面資源查找計數器 |
| ShapingHits and ShapingMisses | Shaped-run lookup counters |
| OutlineHits and OutlineMisses | Parsed outline-program lookup counters |
| ColorHits and ColorMisses | 彩色字型表格讀取器的查詢計數器 |
| Evictions | 被共享 LRU(最近最少使用)政策移除的項目 |
另見
GetFontCacheInfo, SetFontCacheLimit, ClearFontCache, GetFontColorGlyph