|
THotPDF Shaping Subset and ToUnicode Mapping Methods THotPDF API reference
|
THotPDF Methods Auto Shaping GSUB |
เอกสารเกี่ยวกับระบบชุดย่อยกริฟฟ์และการเชื่อมโยง ToUnicode ที่ทำให้กริฟฟ์ GID ที่จัดรูปแล้วเรนเดอร์และดึงข้อมูลออกมาได้อย่างถูกต้อง
Delphi syntax 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;
Covered APIs
Usage notes ใช้ APIs เหล่านี้เมื่อ shaping workflow emit glyph IDs ที่เข้าถึงไม่ได้ผ่าน Unicode cmap entry ปกติ Synthetic codepoints route การ render ผ่าน CIDToGIDMap ส่วน reverse mappings กู้ source codepoints เดิมสำหรับ text extraction
See also: AssignSyntheticCodepointForGID GSUB lookup methods Indic shaping methods |