THotPDF.GetGPOSSingleAdjustment Method
Reads gpos single adjustment 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 GetGPOSSingleAdjustment(GID: Word; const FeatureTag: AnsiString; out XPlacement, YPlacement: Integer; out XAdvance, YAdvance: Integer): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
GID | Input used by GetGPOSSingleAdjustment |
FeatureTag | Input used by GetGPOSSingleAdjustment |
XPlacement | Input used by GetGPOSSingleAdjustment |
YPlacement | Input used by GetGPOSSingleAdjustment |
XAdvance | Input used by GetGPOSSingleAdjustment |
YAdvance | Input used by GetGPOSSingleAdjustment |
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