THotPDF.LoadedFontDecoderCacheMaxBytes
Legt den maximal geschätzten Speicher fest, den geparste Font-Decoder für das aktuell geladene Dokument halten dürfen
Deklaration
property LoadedFontDecoderCacheMaxBytes: Int64
read GetLoadedFontDecoderCacheMaxBytes
write SetLoadedFontDecoderCacheMaxBytes;
Verhalten
- Das Standardbudget beträgt 33554432 Bytes, außerdem hält der Cache höchstens 128 Einträge
- Reducing the budget evicts least recently used entries immediately
- Ein Budget von null deaktiviert das Vorhalten, Decoder-Anfragen funktionieren aber weiterhin
- Negative Werte werden auf null normalisiert
- Loading another document clears retained decoders and resets statistics
See also: GetLoadedFontDecoderCacheInfo, Cache Infrastructure