|
THotPDF Shaping Subset and ToUnicode Mapping Methods THotPDF API reference
|
THotPDF Methods Auto Shaping GSUB |
|
Mendokumentasikan mekanisme subset glyph dan ToUnicode yang membuat GID hasil shaping dapat dirender dan diekstrak dengan benar
Sintaks 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 yang Dicakup
Catatan penggunaan Gunakan API ini saat alur kerja shaping menghasilkan glyph ID yang tidak dapat dijangkau melalui entri cmap Unicode biasa. Codepoint sintetis mengarahkan rendering melalui CIDToGIDMap, sementara pemetaan balik memulihkan source codepoint asli untuk ekstraksi teks
Lihat juga: AssignSyntheticCodepointForGID Metode pencarian GSUB Metode shaping Indic |