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 動作を維持します
  • ApplyIndicReorder dispatches 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;

関連項目

標準

  • Unicode 16.0 U+0A80-U+0AFF
  • ISO 32000-1 §9.10
  • OpenType Gujarati shaping specification

バージョン履歴

  • v2.119.72 - HotPDF の Indic shaping バッチの一部として追加されました