ApplySinhalaReorder
Signatuur
function ApplySinhalaReorder(const Wide: UnicodeString): UnicodeString;
Doel
Past de Sinhala-herschikking toe op Wide en retourneert een UnicodeString die klaar is voor cmap en GSUB. Tekst buiten Sinhala blijft byte-stabiel
Dekking
- Sinhala gebruikt scriptrecord
sinhvoor U+0D80-U+0DFF. De dekking omvatR1-R5 with Sinhala pre-base and split-matra handlingen behoudt het API-gedrag voor producer-side shaping ApplyIndicReorderdispatches to this helper when the active codepoint range matches U+0D80-U+0DFF
Voorbeeld
var
Wide: UnicodeString;
begin
// Input: KA (U+0D9A) + O-matra (U+0DDC, 2-part split: pre + post)
Wide:= Doc.ApplySinhalaReorder(#$0D9A#$0DDC);
// Wide is now: E (U+0DD9, pre) + KA + AA (U+0DCF, post)
end;
Zie ook
ApplyIndicReorder- DekkingGetSinhalaCategory- Sinhala category lookup
Standaarden
- Unicode 16.0 U+0D80-U+0DFF
- ISO 32000-1 ยง9.10
- OpenType Sinhala shaping specification
Versiegeschiedenis
- v2.119.77 - Toegevoegd als onderdeel van de HotPDF Indic-vormingsbatch