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

SenderThe active TPDFlib instance
CodePointThe complete Unicode scalar value
UTF16IndexThe zero-based source index of the scalar or shaped cluster
PageThe selected one-based page number or zero when no page is active
FontNameThe selected font program or resource name
OperationThe text operation that detected the missing glyph
ActionThe current policy on entry and the selected report-or-abort action on return

See also

OnMissingGlyph, SetMissingGlyphCallback