|
THotPDF Shaping Subset and ToUnicode Mapping Methods THotPDF API reference
|
THotPDF Methods Auto Shaping GSUB |
|
Τεκμηριώνει το glyph-subset και ToUnicode plumbing που κάνει τα shaped GIDs να αποδίδονται και να εξάγονται σωστά
Delphi syntax 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; function GetSyntheticCodepointForGID(GID: Word): Word; procedure MarkSyntheticCpRTL(Cp: Word); function IsRTLSyntheticCp(Cp: Word): Boolean; function IsRTLSyntheticGID(GID: Word): Boolean;
Covered APIs
Usage notes Χρησιμοποιήστε αυτά τα APIs όταν ένα shaping workflow εκπέμπει glyph IDs που δεν είναι προσβάσιμα μέσω κανονικής Unicode cmap entry. Τα synthetic codepoints δρομολογούν το rendering μέσω CIDToGIDMap, ενώ τα reverse mappings ανακτούν τα αρχικά source codepoints για text extraction
See also: AssignSyntheticCodepointForGID GSUB lookup methods Indic shaping methods |