GetMissingGlyphReportJSON

文字、字型、診斷

描述

以確定性 JSON 傳回純文字與 shaped 文字保留的缺字事件

語法

Delphi

Function TPDFlib.GetMissingGlyphReportJSON: WideString;

ActiveX

Function PDFlib::GetMissingGlyphReportJSON() As String

DLL

const wchar_t* DLGetMissingGlyphReportJSON(int InstanceID);
const char* DLGetMissingGlyphReportJSONA(int InstanceID);

傳回值

傳回物件,包含 valid、作用中的 policy、保留的 eventCount 與按序排列的 events每個事件包含單調遞增序號、文件索引、頁面、零起算的 UTF-16 索引、十進位碼點,

U+XXXX 標籤、字型名稱、字型類型與操作名稱

備註

輔助平面字元以單一 Unicode 純量回報一次,而不是兩個代理事件

報告在環狀緩衝區保留最近 256 筆事件,讀取時不會清除

讀取報告後請用 ClearMissingGlyphReport 清除

另請參閱

SetMissingGlyphPolicy, SetMissingGlyphCallback, GetMissingGlyphReportJSONA