ApplyKannadaReorder

Signature

function ApplyKannadaReorder(const Wide: UnicodeString): UnicodeString;

Objectif

Applique le prétraitement de réordonnancement Kannada à Wide et renvoie un UnicodeString prêt pour cmap et GSUB. Le texte hors Kannada reste stable octet par octet, ce qui permet de traiter du texte mixte sans modifier les segments non concernés

Couverture

  • Kannada utilise l’entrée de script knda pour U+0C80-U+0CFF. Le chemin documenté couvre R1, R3, R4, R5, and Kannada split-matra handling tout en conservant le comportement API pour le façonnage côté producteur
  • ApplyIndicReorder dispatches to this helper when the active codepoint range matches U+0C80-U+0CFF

Exemple

var
  Wide: UnicodeString;
begin
  // Input: KA (U+0C95) + OO-matra (U+0CCB, three-part split)
  Wide:= Doc.ApplyKannadaReorder(#$0C95#$0CCB);
  // Wide is now: KA + E (U+0CC6, above) + UU (U+0CC2, post) + length-mark (U+0CD5, post)
end;

Voir aussi

Normes

  • Unicode 16.0 U+0C80-U+0CFF
  • ISO 32000-1 §9.10
  • OpenType Kannada shaping specification

Historique des versions

  • v2.119.75 - Introduit dans le lot de façonnage Indic de HotPDF