|
THotPDF GPOS Kerning and Placement Methods THotPDF API reference
|
THotPDF Methods Auto Shaping GSUB |
|
Dokumentira poizvedbe GPOS HotPDF za parno kerning, kontekstni kerning, navpični kerning, sidra kurzive, pozicioniranje oznak in mark-to-ligature ter zastavice ShapingFeatures, ki jih uporabijo med izpisom besedila
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 Parno kerning vrne predznačene prilagoditve napredka in postavitve v emu z 1000 enotami. Kontekstni kerning razreši iskanja tipa 7 in tipa 8 čez niz glifov. Pozicioniranje oznak zajema sidra Mark-to-Base, Mark-to-Mark in Mark-to-Ligature. ApplyMarkToLigatureShaping pripravi podatke o komponentah ligature na ravni niza, ki jih uporablja sfMarkToLigature. Pripenjanje kurzive poravna izhodno sidro na enem glifu z vhodnim sidrom na naslednjem glifu, kar je najuporabnejše po izvorno arabskem oblikovanju GSUB, ki je ustvarilo fonstno specifične kontekstne identifikatorje glifov, ki nosijo ta sidra. Pot izpisa to uporabi samo, ko je ustrezna oblikovalna zastavica omogočena
See also: ShapingFeatures OpenType GSUB Engine Automatic Shaping Pipeline |