|
THotPDF GPOS Kerning and Placement Methods THotPDF API reference
|
THotPDF Methods Auto Shaping GSUB |
|
Dokumentira HotPDF-ove GPOS upite za pair kerning, contextual kerning, vertical kerning, cursive-anchor, mark-positioning i mark-to-ligature te ShapingFeatures zastavice koje ih primjenjuju tijekom izlaza teksta
Delphi syntax function HasGPOSKerning: Boolean; function GetGPOSPairAdjustment(FirstGID, SecondGID: Word): Integer; function GetGPOSPairAdjustment(FirstGID, SecondGID: Word; out AXPlacement, AYPlacement, AYAdvance: Integer): Integer; function GetGPOSContextualKernRun(const GIDs: array of Word): TArray<Integer>; function HasGPOSVerticalKern: Boolean; function GetGPOSVerticalKern(FirstGID, SecondGID: Word): Integer; function GetGPOSMarkOffset(BaseGID, MarkGID: Word; out DX, DY: Integer): Boolean; function GetGPOSMarkMarkOffset(BaseMarkGID, AttachMarkGID: Word; out DX, DY: Integer): Boolean; function HasGPOSCursive: Boolean; function GetGPOSCursiveAnchors(GID: Word; out EntryX, EntryY, ExitX, ExitY: Integer; out HasEntry, HasExit: Boolean): Boolean; function GetGPOSMarkToLigatureOffset(LigGID: Word; ComponentIndex: Integer; MarkGID: Word; out DX, DY: Integer): Boolean; function GetGPOSLigatureComponentCount(LigGID: Word): Integer; function ApplyMarkToLigatureShaping(const Wide: UnicodeString): UnicodeString;
Covered APIs
Usage notes Pair kerning vraća signed advance i prilagodbe položaja u 1000-unit em. Contextual kerning razrješava Type 7 i Type 8 lookupove kroz niz glifova. Mark positioning obuhvaća Mark-to-Base, Mark-to-Mark i Mark-to-Ligature sidra. ApplyMarkToLigatureShaping priprema ligature component podatke na razini niza koje koristi sfMarkToLigature. Cursive attachment poravnava izlazno sidro jednog glifa s ulaznim sidrom sljedećeg glifa, što je najkorisnije nakon što native Arabic GSUB shaping proizvede font-specifične contextual glyph ID-jeve koji nose ta sidra. Emit put ih primjenjuje samo kada je odgovarajuća shaping zastavica uključena
See also: ShapingFeatures OpenType GSUB Engine Automatic Shaping Pipeline |