GetMissingGlyphReportJSON
Text, fonts, diagnostics
Description
Returns the retained missing glyph events for plain and shaped text as deterministic JSON
Syntax
Delphi
Function TPDFlib.GetMissingGlyphReportJSON: WideString;ActiveX
Function PDFlib::GetMissingGlyphReportJSON() As StringDLL
const wchar_t* DLGetMissingGlyphReportJSON(int InstanceID);
const char* DLGetMissingGlyphReportJSONA(int InstanceID);Return values
Returns an object containing valid, the active policy, retained eventCount, and ordered events
Each event contains a monotonic sequence, document index, page, zero-based UTF-16 index, decimal code point, U+XXXX label, font name, font type, and operation name
Remarks
Supplementary-plane characters are reported once as one Unicode scalar rather than as two surrogate events
The report retains the latest 256 events in a ring buffer and does not clear them when read
Use ClearMissingGlyphReport after consuming the report
See also
SetMissingGlyphPolicy, SetMissingGlyphCallback, GetMissingGlyphReportJSONA