ApplyGujaratiReorder
Signatur
function ApplyGujaratiReorder(const Wide: UnicodeString): UnicodeString;
Zweck
Wendet den Gujarati-Reorder-Vorlauf auf Wide an und gibt einen für cmap und GSUB vorbereiteten UnicodeString zurück. Text ausserhalb von Gujarati bleibt byte-stabil, sodass gemischte Läufe ohne Änderung fremder Abschnitte verarbeitet werden können
Abdeckung
- Gujarati verwendet den Script-Eintrag
gujrfür U+0A80-U+0AFF. Der dokumentierte Pfad deckt R1-R5 with no split matras ab und bewahrt das API-Verhalten für producerseitiges Shaping ApplyIndicReorderdispatches to this helper when the active codepoint range matches U+0A80-U+0AFF
Beispiel
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;
Siehe auch
ApplyIndicReorder- AbdeckungGetGujaratiCategory- Gujarati-Kategorielookup
Standards
- Unicode 16.0 U+0A80-U+0AFF
- ISO 32000-1 §9.10
- OpenType Gujarati shaping specification
Versionsverlauf
- v2.119.72 - Eingeführt als Teil des HotPDF-Indic-Shaping-Batches