|
Per-script reorder helper, dispatcher, v2.167 Indic GSUB producer path를 포함한 Indic reorder 및 GSUB shaping surface를 문서화합니다
Delphi 구문
function ApplyIndicReorder(const Wide: UnicodeString): UnicodeString; overload;
function ApplyIndicReorder(const Wide: UnicodeString; const Features: THPDFShapingFeatures): UnicodeString; overload;
function ApplyIndicShaping(const S: UnicodeString): UnicodeString;
function IndicShapeToGIDs(const S: UnicodeString): TGSUBLookupArray;
function ApplyDevanagariReorder(const Wide: UnicodeString): UnicodeString;
function ApplyBengaliReorder(const Wide: UnicodeString): UnicodeString;
function ApplyGujaratiReorder(const Wide: UnicodeString): UnicodeString;
function ApplyTamilReorder(const Wide: UnicodeString): UnicodeString;
function ApplyTeluguReorder(const Wide: UnicodeString): UnicodeString;
function ApplyKannadaReorder(const Wide: UnicodeString): UnicodeString;
function ApplyMalayalamReorder(const Wide: UnicodeString): UnicodeString;
function ApplySinhalaReorder(const Wide: UnicodeString): UnicodeString;
function ApplyKhmerReorder(const Wide: UnicodeString): UnicodeString;
function ApplyMyanmarReorder(const Wide: UnicodeString): UnicodeString;
Covered APIs
| API | 사용 참고 사항 |
ApplyIndicReorder | Dispatches script-specific Indic reorder helpers before GSUB shaping or text output. The parameterless form keeps full-script coverage; the overload taking a THPDFShapingFeatures set reorders only the scripts whose shaping flag is present, matching the per-flag isolation applied during text output |
ApplyIndicShaping | Applies reorder plus the Indic GSUB feature chain and returns synthetic-codepoint text for output |
IndicShapeToGIDs | Returns the shaped glyph-ID sequence for an Indic string without emitting PDF text |
GetDevanagariCategory | Classifies Devanagari codepoints for syllable and reorder decisions |
GetBengaliCategory | Classifies Bengali codepoints for Indic reorder decisions |
GetGujaratiCategory | Classifies Gujarati codepoints for Indic reorder decisions |
GetTamilCategory | Classifies Tamil codepoints for Indic reorder decisions |
GetTeluguCategory | Classifies Telugu codepoints for Indic reorder decisions |
GetKannadaCategory | Classifies Kannada codepoints for Indic reorder decisions |
GetMalayalamCategory | Classifies Malayalam codepoints for Indic reorder decisions |
GetSinhalaCategory | Classifies Sinhala codepoints for Indic reorder decisions |
GetKhmerCategory | Classifies Khmer codepoints for the shared complex-script reorder path |
GetMyanmarCategory | Classifies Myanmar codepoints for the shared complex-script reorder path |
sfIndicShaping | Runs the conservative Indic syllable reorder path before text output without forcing full GSUB feature application |
sfIndicGSUB | Runs the Indic reorder and GSUB feature chain, then emits shaped glyph IDs through synthetic codepoints |
사용 참고 사항
sfIndicShaping은 reorder-only output을 수행하며 conservative option으로 남습니다. sfIndicGSUB는 각 syllable을 reorder하고 OpenType Indic feature chain을 적용하며 shaped GID를 synthetic codepoint를 통해 emit하고, font에 관련 GSUB script가 없으면 reorder path로 degrade합니다
참조: International Script Shaping ShapingFeatures GSUB lookup methods
|