THotPDF Shaping Subset and ToUnicode Mapping Methods THotPDF API başvurusu
|
THotPDF Methods Auto Shaping GSUB |
Shaping uygulanmış GID'lerin doğru çizilmesini ve çıkarılmasını sağlayan glif alt kümesi ve ToUnicode altyapısını belgeler
Delphi sözdizimi 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;
Kapsanan API'ler
Kullanım notları Bir shaping iş akışı, normal bir Unicode cmap girdisi üzerinden ulaşılamayan glif ID'leri ürettiğinde bu API'leri kullanın. Sentetik kod noktaları çizimi CIDToGIDMap üzerinden yönlendirir; ters eşlemeler ise metin çıkarımı için özgün kaynak kod noktalarını kurtarır
Ayrıca bkz.: AssignSyntheticCodepointForGID GSUB lookup metotları Indic shaping metotları |