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快取的作業系統字型面資源數量
ShapingEntriesCached shaped-run count
OutlineEntriesCached parsed TrueType outline-program count
ColorEntries快取的延遲彩色字型表讀取器數量
FontHits and FontMisses字型面資源查找計數器
ShapingHits and ShapingMissesShaped-run lookup counters
OutlineHits and OutlineMissesParsed outline-program lookup counters
ColorHits and ColorMisses彩色字型表格讀取器的查詢計數器
Evictions被共享 LRU(最近最少使用)政策移除的項目

另見

GetFontCacheInfo, SetFontCacheLimit, ClearFontCache, GetFontColorGlyph