THotPDF.GetGPOSMarkToLigatureOffset Method
Reads gpos mark to ligature offset 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 GetGPOSMarkToLigatureOffset(LigGID: Word; ComponentIndex: Integer; MarkGID: Word; out Dx, DY: Integer): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
LigGID | Input used by GetGPOSMarkToLigatureOffset |
ComponentIndex | Zero-based index or object index used to select an existing item |
MarkGID | Input used by GetGPOSMarkToLigatureOffset |
Dx | Input used by GetGPOSMarkToLigatureOffset |
DY | Input used by GetGPOSMarkToLigatureOffset |
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