ApplyTamilReorder

Firma

function ApplyTamilReorder(const Wide: UnicodeString): UnicodeString;

Scopo

Applica il pre-pass di riordino Tamil a Wide e restituisce un UnicodeString pronto per cmap e GSUB. Il testo fuori da Tamil resta stabile byte per byte, quindi i chiamanti possono gestire testo misto senza cambiare segmenti non correlati

Copertura

  • Tamil usa il record script taml per U+0B80-U+0BFF. Il percorso documentato copre R2-R5 with Tamil split-matra handling and no Repha e conserva il comportamento API per lo shaping lato producer
  • ApplyIndicReorder dispatches to this helper when the active codepoint range matches U+0B80-U+0BFF

Esempio

var
  Wide: UnicodeString;
begin
  // Input: KA (U+0B95) + O-matra (U+0BCA, split)
  Wide:= Doc.ApplyTamilReorder(#$0B95#$0BCA);
  // Wide is now: E (U+0BC6) + KA + AA (U+0BBE)  (canonical decomposition)
end;

Vedere anche

Standard

  • Unicode 16.0 U+0B80-U+0BFF
  • ISO 32000-1 ยง9.10
  • OpenType Tamil shaping specification

Cronologia versioni

  • v2.119.73 - Introdotto come parte del batch di shaping Indic di HotPDF