THotPDF.GetLoadedFontDecoder Method

 

THotPDF.GetLoadedFontDecoder

THotPDF

 

Top

为已加载页面上的特定字体构建字符代码到 Unicode 的解码器。如果成功则返回 True。

 

Delphi 语法:

function GetLoadedFontDecoder(PageIndex, FontIndex: Integer; out ADecoder: THPDFFontDecoder): boolean;

 

描述

字体可解码时返回 True,并把所有变长映射拷贝进调用方持有的数组

对同一已加载字体的重复请求会复用有界的文档级已解析核心,同时保留请求页面所用的资源名

另请参阅:GetLoadedFontDecoderCacheInfo 与 LoadedFontDecoderCacheMaxBytes