ApplyTeluguReorder
簽章
function ApplyTeluguReorder(const Wide: UnicodeString): UnicodeString;
用途
對 Wide 套用 Telugu 重排預處理,並傳回可交給 cmap 與 GSUB 使用的 UnicodeString。Telugu 之外的文字與資料保持位元組穩定
涵蓋範圍
- Telugu 對 U+0C00-U+0C7F 使用
teluscript 記錄。涵蓋範圍包含R1, R3, R4, and Telugu split-matra handling,並維持產生端 API 行為穩定'rphf' - 大量上方 matra:AA(
U+0C3E)、I(U+0C3F)、II(U+0C40)、E(U+0C46)、EE(U+0C47)、O(U+0C4A)、OO(U+0C4B)、AU(U+0C4C)與長音符號(U+0C55)。 - 下方 matra:U / UU / Vocalic R / Vocalic RR(
U+0C41–U+0C44)、AI 長音符號(U+0C56)、Vocalic L / LL matra(U+0C62–U+0C63)。 - 1 個分割 matra:
U+0C48AI 在重排時分解為U+0C46(上方 E)+U+0C56(下方 AI 長音符號)。這是第一個送往上方 + 下方的已註冊分割,不同於 Bengali / Tamil 的前+後模式。 - Halant 是
U+0C4D。
重排規則
- R1 Repha:位於音節開頭的 Ra + Halant 重新輸出到音節結尾。
- R3 上方 matra:AA / I / II / E / EE / O / OO / AU / 長音符號在基底塊之後輸出。
- R4 下方 matra:U / UU / Vocalic R / RR、AI 長音符號、Vocalic L / LL matra 在上方塊之後輸出。
- 分割 matra 分解:
U+0C48AI 依前述送往上方 + 下方緩衝區。 - 正常的 Telugu 輸入不會產生 R2 前置與 R5 後置輸出。
每個音節的輸出布局:[基底 + halant + bindu/visarga/修飾符] + [上方 matra] + [下方 matra] + [Repha: Ra Halant]?
ApplyIndicReorder dispatches to this helper when the active codepoint range matches U+0C00-U+0C7F
範例
var
Wide: UnicodeString;
begin
// Input: KA (U+0C15) + AI-matra (U+0C48, split)
Wide:= Doc.ApplyTeluguReorder(#$0C15#$0C48);
// Wide is now: KA + E (U+0C46, above) + AI-mark (U+0C56, below)
end;
另請參閱
ApplyIndicReorder- 涵蓋範圍GetTeluguCategory- Telugu category lookupApplyBengaliReorder— Bengali 對應版本。ApplyGujaratiReorder— Gujarati 對應版本。ApplyTamilReorder— Tamil 對應版本。GetTeluguCategory
標準
- Unicode 16.0 U+0C00-U+0C7F
- ISO 32000-1 §9.10
IndicSyllabicCategory.txt與IndicPositionalCategory.txt - OpenType Telugu shaping specification
- OpenType Telugu 塑形規格(文字系統 tag
'telu'
版本歷史
- v2.119.74 - 作為 HotPDF Indic 塑形批次的一部分導入