ApplyGujaratiReorder
シグネチャ
function ApplyGujaratiReorder(const Wide: UnicodeString): UnicodeString;
目的
Wide に Gujarati の並べ替え前処理を適用し、cmap と GSUB に渡せる UnicodeString を返します。Gujarati 以外のテキストはバイト単位で安定したままです
対応範囲
- Gujarati は U+0A80-U+0AFF に対して script レコード
gujrを使用します。対応範囲はR1-R5 with no split matrasを含み、生成側の API 動作を維持します ApplyIndicReorderdispatches to this helper when the active codepoint range matches U+0A80-U+0AFF
例
var
Wide: UnicodeString;
begin
// Input: KA + AA(post) + U(below) + E(above) + I(pre)
Wide:= Doc.ApplyGujaratiReorder(#$0A95#$0ABE#$0AC1#$0AC7#$0ABF);
// Wide is now: I + KA + E + U + AA (canonical 5-buffer order)
end;
関連項目
ApplyIndicReorder- 対応範囲GetGujaratiCategory- Gujarati category lookup
標準
- Unicode 16.0 U+0A80-U+0AFF
- ISO 32000-1 §9.10
- OpenType Gujarati shaping specification
バージョン履歴
- v2.119.72 - HotPDF の Indic shaping バッチの一部として追加されました