ApplyGujaratiReorder

Firma

function ApplyGujaratiReorder(const Wide: UnicodeString): UnicodeString;

Scopo

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

Copertura

  • Gujarati usa il record script gujr per U+0A80-U+0AFF. Il percorso documentato copre R1-R5 with no split matras e conserva il comportamento API per lo shaping lato producer
  • ApplyIndicReorder dispatches to this helper when the active codepoint range matches U+0A80-U+0AFF

Esempio

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;

Vedere anche

Standard

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

Cronologia versioni

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