THotPDF.ApplyGSUBContextualFeature Method
Applies gsub contextual feature 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 ApplyGSUBContextualFeature(const Wide: UnicodeString; const AFeatureTag: AnsiString): UnicodeString;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Wide | Input used by ApplyGSUBContextualFeature |
AFeatureTag | Input used by ApplyGSUBContextualFeature |
Return value
Returns an UnicodeString 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