|
Metodi di shaping subset e mapping ToUnicode di THotPDF THotPDF Riferimento API
|
THotPDF Methods Auto Shaping GSUB |
|
Documenta le infrastrutture di subset dei glifi e ToUnicode che fanno renderizzare ed estrarre correttamente i GID con shaping
Sintassi Delphi 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;
API trattate
Note sull'utilizzo Usa queste API quando un flusso di shaping emette GID non raggiungibili tramite una normale voce di cmap Unicode. I codepoint sintetici instradano il rendering attraverso CIDToGIDMap, mentre i mapping inversi recuperano i codepoint sorgente originali per l'estrazione del testo
Vedi anche: AssignSyntheticCodepointForGID metodi di lookup GSUB Metodi di shaping Indic |