TPDFlibMissingGlyphEvent
Text, fonts, callbacks
Description
Defines a Delphi object event that receives a missing Unicode scalar before a text operation emits content
Syntax
type TPDFlibMissingGlyphEvent= Procedure(Sender: TObject;
CodePoint: Cardinal; UTF16Index, Page: Integer;
Const FontName, Operation: WideString;
Var Action: Integer) Of Object;Parameters
| Sender | The active TPDFlib instance |
|---|---|
| CodePoint | The complete Unicode scalar value |
| UTF16Index | The zero-based source index of the scalar or shaped cluster |
| Page | The selected one-based page number or zero when no page is active |
| FontName | The selected font program or resource name |
| Operation | The text operation that detected the missing glyph |
| Action | The current policy on entry and the selected report-or-abort action on return |