ApplyKhmerReorder
التوقيع
function ApplyKhmerReorder(const Wide: UnicodeString): UnicodeString;
الغرض
يطبق مرور إعادة ترتيب Khmer على Wide ويعيد UnicodeString جاهزًا لاستخدام cmap وGSUB. يبقى النص خارج Khmer ثابتًا على مستوى البايت
التغطية
- يستخدم Khmer سجل script
khmrللنطاق U+1780-U+17FF. تشمل التغطيةindependent South-East Asian syllable processingمع الحفاظ على سلوك API في جهة الإنشاء ApplyIndicReorderdispatches to this helper when the active codepoint range matches U+1780-U+17FF
مثال
var
Wide: UnicodeString;
begin
// Input: KA (U+1780) + E-vowel (U+17C1, pre-base)
Wide:= Doc.ApplyKhmerReorder(#$1780#$17C1);
// Wide is now: E (U+17C1) + KA (U+1780)
// Input: KA + COENG + KHA + AA-vowel (stacked consonant + post vowel)
Wide:= Doc.ApplyKhmerReorder(#$1780#$17D2#$1781#$17B6);
// Wide unchanged: KA + COENG + KHA + AA
// (COENG cluster stays in BaseBuf in original order; AA in PostBuf)
end;
راجع أيضًا
ApplyIndicReorder- التغطيةGetKhmerCategory- Khmer category lookup
المعايير
- Unicode 16.0 U+1780-U+17FF
- ISO 32000-1 §9.10
- OpenType Khmer shaping specification
سجل الإصدارات
- v2.120.9 - أضيف كجزء من دفعة تشكيل Indic في HotPDF