ApplyGujaratiReorder

Signatuur

function ApplyGujaratiReorder(const Wide: UnicodeString): UnicodeString;

Doel

Past de Gujarati-herschikking toe op Wide en retourneert een UnicodeString die klaar is voor cmap en GSUB. Tekst buiten Gujarati blijft byte-stabiel

Dekking

  • Gujarati gebruikt scriptrecord gujr voor U+0A80-U+0AFF. De dekking omvat R1-R5 with no split matras en behoudt het API-gedrag voor producer-side shaping
  • ApplyIndicReorder dispatches to this helper when the active codepoint range matches U+0A80-U+0AFF

Voorbeeld

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;

Zie ook

Standaarden

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

Versiegeschiedenis

  • v2.119.72 - Toegevoegd als onderdeel van de HotPDF Indic-vormingsbatch