OnMissingGlyph

Text, fonts, callbacks

Description

Receives each missing Unicode scalar and can choose report-and-drop or abort behavior for the current text operation

Syntax

Property OnMissingGlyph: TPDFlibMissingGlyphEvent
  Read FOnMissingGlyph
  Write FOnMissingGlyph;

Remarks

The event is recorded before the handler runs

Action initially contains the current missing-glyph policy and may be set to PDF_MISSING_GLYPH_REPORT or PDF_MISSING_GLYPH_ABORT

Surrogate pairs and shaped clusters are reported once with the zero-based UTF-16 source index

See also

TPDFlibMissingGlyphEvent, SetMissingGlyphPolicy, GetMissingGlyphReportJSON