|
Métodos THotPDF de subconjunto de shaping y mapeo ToUnicode Referencia de API de THotPDF
|
THotPDF Methods Auto Shaping GSUB |
|
Documenta el subset de glifos y la infraestructura de ToUnicode que hacen que los GID resultantes del shaping se rendericen y se extraigan correctamente function GetSyntheticCodepointForGID(GID: Word): Word; procedure MarkSyntheticCpRTL(Cp: Word); function IsRTLSyntheticCp(Cp: Word): Boolean; function IsRTLSyntheticGID(GID: Word): Boolean;
procedure RegisterToUnicodeReverseMapping(SubstCodepoint: Cardinal; const SourceCodepoints: array of Cardinal); 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;
API incluidas
Notas de uso Use estas APIs cuando un flujo de shaping emite glyph IDs a los que no se llega por una entrada normal del cmap Unicode. Los codepoints sintéticos dirigen el renderizado a través de CIDToGIDMap, mientras que las asignaciones inversas recuperan los codepoints de origen originales para la extracción de texto
Ver también: AssignSyntheticCodepointForGID métodos de búsqueda GSUB Indic shaping methods |