GetFontCacheInfo

Text, fonts, diagnostics

Description

Returns the configured byte budget, current tracked use, entry counts, hit and miss counters and total LRU evictions for all font-related caches

Syntax

Delphi

Function TPDFlib.GetFontCacheInfo(Out Info: TPDFlibFontCacheInfo): Integer;

Parameters

InfoReceives a TPDFlibFontCacheInfo record

Return values

Returns 1

Remarks

CurrentBytes is the tracked retained-size estimate used by the eviction policy and never exceeds MaxBytes

A miss can still complete successfully with a transient resource when its retained size is larger than the budget

See also

TPDFlibFontCacheInfo, SetFontCacheLimit, ClearFontCache