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
| Name | Purpose |
|---|---|
InputGIDs | Input used by ApplyLigatureSubstitution |
StartIndex | Zero-based index or object index used to select an existing item |
FeatureTag | Input used by ApplyLigatureSubstitution |
OutGID | Input used by ApplyLigatureSubstitution |
ConsumedCount | Input used by ApplyLigatureSubstitution |
Return value
Returns a boolean value
Usage notes
- Use this API in the text shaping and font layout workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised