|
Metodele THotPDF pentru subsetarea după shaping și maparea ToUnicode THotPDF API reference
|
THotPDF Methods Auto Shaping GSUB |
|
Documentează infrastructura de subset și ToUnicode care face ca GID-urile rezultate din shaping să se redea și să se extragă corect
Sintaxă 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-uri acoperite
Note de utilizare Folosiți aceste API-uri atunci când un flux de shaping emite GID-uri care nu pot fi atinse printr-o intrare Unicode cmap normală. Codpunctele sintetice direcționează randarea prin CIDToGIDMap, iar mapările inverse recuperează codpunctele sursă originale pentru extragerea textului
Vezi și: AssignSyntheticCodepointForGID metode de căutare GSUB metode de shaping Indic |