|
THotPDF Shaping Subset and ToUnicode Mapping Methods THotPDF Référence API
|
THotPDF Methods Auto Shaping GSUB |
|
procedure MarkSyntheticCpRTL(Cp: Word); function IsRTLSyntheticCp(Cp: Word): Boolean; function IsRTLSyntheticGID(GID: Word): Boolean; procedure EnableShapingFeatureForSubset(const FeatureTag: AnsiString); overload; procedure EnableShapingFeatureForSubset(Feature: THPDFShapingFeature); overload;
procedure RegisterToUnicodeReverseMapping(SubstCodepoint: Cardinal; const SourceCodepoints: array of Cardinal); procedure EnableShapingFeatureForSubset(const FeatureTag: AnsiString); overload; procedure EnableShapingFeatureForSubset(Feature: THPDFShapingFeature); overload; procedure MarkUnicodeGlyphUsed(GID: Word); procedure RegisterToUnicodeReverseMapping(SubstCodepoint: Cardinal; const SourceCodepoints: array of Cardinal); procedure ClearToUnicodeReverseMappings; function ToUnicodeReverseMappingCount: Integer; function AssignSyntheticCodepointForGID(GID: Word; out SyntheticCP: Word): Boolean;
API couvertes
Notes d’utilisation Utilisez ces API lorsqu’un workflow de shaping émet des identifiants de glyphe inaccessibles par une entrée cmap Unicode normale. Les points de code synthétiques font passer le rendu par CIDToGIDMap, tandis que les correspondances inverses permettent de retrouver les points de code sources d’origine pour l’extraction de texte
Voir aussi: AssignSyntheticCodepointForGID méthodes de lookup GSUB Indic shaping methods |