ApplyBengaliReorder
Signatuur
function ApplyBengaliReorder(const Wide: UnicodeString): UnicodeString;
Doel
Past de Bengali-herschikking toe op Wide en retourneert een UnicodeString die klaar is voor cmap en GSUB. Tekst buiten Bengali blijft byte-stabiel
Dekking
- Bengali gebruikt scriptrecord
bengvoor U+0980-U+09FF. De dekking omvatR1, R2, R4, R5, and split-matra decompositionen behoudt het API-gedrag voor producer-side shaping ApplyIndicReorderdispatches to this helper when the active codepoint range matches U+0980-U+09FF
Voorbeeld
var
Wide: UnicodeString;
begin
// Input: KA + Oo-matra (single codepoint U+09CB)
Wide:= Doc.ApplyBengaliReorder(#$0995#$09CB);
// Wide is now: U+09C7 + KA + U+09BE (Oo decomposed to pre+post)
end;
Zie ook
ApplyIndicReorder- DekkingGetBengaliCategory- Bengali category lookup
Standaarden
- Unicode 16.0 U+0980-U+09FF
- ISO 32000-1 ยง9.10
- OpenType Bengali shaping specification
Versiegeschiedenis
- v2.119.71 - Toegevoegd als onderdeel van de HotPDF Indic-vormingsbatch