GetKhmerCategory
Sygnatura
function GetKhmerCategory(CP: Cardinal): Integer;
Cel
Zwraca kategorię sylabiczną HotPDF używaną przez przebieg zmiany kolejności Khmer. Funkcja jest wyszukiwaniem punktu kodowego, nie wymaga stanu fontu i zwraca kategorię 0 poza zakresem Khmer
Wartości zwracane
| Code | Category | Example codepoints |
|---|---|---|
| 0 | Other | fallback or outside range |
| 1 | Consonant | Khmer consonants |
| 2 | Independent vowel | Khmer vowel letters |
| 3 | Matra | Khmer dependent vowel signs |
| 4 | Virama | halant or virama |
| 5 | Nukta | nukta mark where the script uses one |
| 6 | Bindu | chandrabindu or anusvara |
| 7 | Visarga | visarga sign |
| 9 | Digit | Khmer digits |
Uwagi
Wartości kategorii zasilają ten sam potok zmiany kolejności co ApplyKhmerReorder i pełny dispatcher Indic
Zobacz także
ApplyKhmerReorder- Khmer reorder pre-passApplyIndicReorder- Indic Zakres
Historia wersji
- v2.120.9 - Wprowadzone jako część partii kształtowania Indic w HotPDF