THotPDF.GetGSUBFeatures Method
Reads gsub features information from the current text shaping and font layout state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetGSUBFeatures(const ScriptTag: AnsiString; const LangTag: AnsiString): TGSUBStringArray;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ScriptTag | Input used by GetGSUBFeatures |
LangTag | Input used by GetGSUBFeatures |
Return value
Returns a TGSUBStringArray value
Usage notes
- Use this API in the text shaping and font layout workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized