ApplyBengaliReorder

シグネチャ

function ApplyBengaliReorder(const Wide: UnicodeString): UnicodeString;

目的

Wide に Bengali の並べ替え前処理を適用し、cmap と GSUB に渡せる UnicodeString を返します。Bengali 以外のテキストはバイト単位で安定したままです

対応範囲

  • Bengali は U+0980-U+09FF に対して script レコード beng を使用します。対応範囲は R1, R2, R4, R5, and split-matra decomposition を含み、生成側の API 動作を維持します
  • ApplyIndicReorder dispatches to this helper when the active codepoint range matches U+0980-U+09FF

var
  Wide: UnicodeString;
begin
  // Input: KA + Oo-matra (single codepoint U+09CB)
  Wide:= Doc.ApplyBengaliReorder(#$0995#$09CB);
  // Wide is now: U+09C7 + KA + U+09BE  (Oo decomposed to pre+post)
end;

関連項目

標準

  • Unicode 16.0 U+0980-U+09FF
  • ISO 32000-1 §9.10
  • OpenType Bengali shaping specification

バージョン履歴

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