ApplyKhmerReorder

시그니처

function ApplyKhmerReorder(const Wide: UnicodeString): UnicodeString;

목적

Wide에 Khmer 재정렬 사전 처리를 적용하고 cmap 및 GSUB에 사용할 수 있는 UnicodeString을 반환합니다. Khmer 외부 텍스트는 바이트 단위로 안정적으로 유지됩니다

범위

  • Khmer는 U+1780-U+17FF에 script 레코드 khmr를 사용합니다. 범위는 independent South-East Asian syllable processing를 포함하며 생산자 측 API 동작을 유지합니다
  • ApplyIndicReorder dispatches 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;

관련 항목

표준

  • Unicode 16.0 U+1780-U+17FF
  • ISO 32000-1 §9.10
  • OpenType Khmer shaping specification

버전 기록

  • v2.120.9 - HotPDF Indic 셰이핑 배치의 일부로 도입되었습니다