THotPDF.AnalyzeUnresolvedGlyphs Method
Reports Unicode scalars that cannot be covered by a primary face and the configured fallback chains
Declaration
function AnalyzeUnresolvedGlyphs(const Text: WideString;
const PrimaryFontName: AnsiString): THPDFUnresolvedGlyphInfoArray; overload;
function AnalyzeUnresolvedGlyphs(const Text: WideString;
const PrimaryFontName: AnsiString; const FontStyle: TFontStyles):
THPDFUnresolvedGlyphInfoArray; overload;
Parameters
Textcontains the UTF-16 text to inspectPrimaryFontNameselects the first face to testFontStyleselects the requested bold and italic face in the explicit-style overload
Return value
Returns deduplicated records containing the scalar, primary face, script group, and suggested installed faces
Usage notes
- Supplementary scalars represented by surrogate pairs are reported as one code point
- Repeated scalar and primary-face pairs appear only once
- The method does not modify accumulated runtime diagnostics
- The original overload checks the regular face; pass the same
FontStyleused for output to inspect a styled run - Pass an installed font family name such as
Arial, rather than a generated PDF font or resource name