ApplySinhalaReorder
Signatur
function ApplySinhalaReorder(const Wide: UnicodeString): UnicodeString;
Syfte
Tillämpar Sinhala-omordningen på Wide och returnerar en UnicodeString klar för cmap och GSUB. Text utanför Sinhala förblir byte-stabil
Täckning
- Sinhala använder scriptposten
sinhför U+0D80-U+0DFF. Täckningen omfattarR1-R5 with Sinhala pre-base and split-matra handlingoch bevarar API-beteendet för producer-side shaping ApplyIndicReorderdispatches to this helper when the active codepoint range matches U+0D80-U+0DFF
Exempel
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;
Se även
ApplyIndicReorder- TäckningGetSinhalaCategory- Sinhala category lookup
Standarder
- Unicode 16.0 U+0D80-U+0DFF
- ISO 32000-1 §9.10
- OpenType Sinhala shaping specification
Versionshistorik
- v2.119.77 - Införd som del av HotPDF:s Indic shaping-batch