THotPDF.ApplyLigatureSubstitution Method

Applies ligature substitution processing inside the text shaping and font layout workflow. The method transforms text, form packets, validation profiles, or loaded PDF data while preserving public identifiers and caller-supplied resources

Declaration

function ApplyLigatureSubstitution(const InputGIDs: array of Word; StartIndex: Integer; const FeatureTag: AnsiString; out OutGID: Word; out ConsumedCount: Integer): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
InputGIDsInput used by ApplyLigatureSubstitution
StartIndexZero-based index or object index used to select an existing item
FeatureTagInput used by ApplyLigatureSubstitution
OutGIDInput used by ApplyLigatureSubstitution
ConsumedCountInput used by ApplyLigatureSubstitution

Return value

Returns a boolean value

Usage notes

Related APIs