ApplyMalayalamReorder

Firma

function ApplyMalayalamReorder(const Wide: UnicodeString): UnicodeString;

Scopo

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

Copertura

  • Malayalam usa il record script mlym per U+0D00-U+0D7F. Il percorso documentato copre R1, R2, R4, R5, split matras, chillu letters, and DOT REPH e conserva il comportamento API per lo shaping lato producer
  • ApplyIndicReorder dispatches to this helper when the active codepoint range matches U+0D00-U+0D7F

Esempio

var
  Wide: UnicodeString;
begin
  // Input: KA (U+0D15) + O-matra (U+0D4A, split into pre + post)
  Wide:= Doc.ApplyMalayalamReorder(#$0D15#$0D4A);
  // Wide is now: E (U+0D46, pre) + KA + AA (U+0D3E, post)
end;

Vedere anche

Standard

  • Unicode 16.0 U+0D00-U+0D7F
  • ISO 32000-1 ยง9.10
  • OpenType Malayalam shaping specification

Cronologia versioni

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