GetKannadaCategory
Signature
function GetKannadaCategory(CP: Cardinal): Integer;
Purpose
Returns the HotPDF syllabic category used by the Kannada reorder pre-pass. The function is a codepoint lookup, needs no font state, and returns category 0 for values outside the Kannada rangeGetDevanagariCategory)
Return values
| Code | Category | Example codepoints |
|---|---|---|
| 0 | Other | fallback or outside range |
| 1 | Consonant | Kannada consonants |
| 2 | Independent vowel | Kannada vowel letters |
| 3 | Matra | Kannada 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 | Kannada digits |
| 10 | ZWJ | U+200D |
| 11 | ZWNJ | U+200C |
Notes
- No pre-base matras.
MatraPos = 1and by the full Indic dispatcherU+0CBF) and E (U+0CC6) are above-base, not pre-base. - Above-base matras (
MatraPos = 3): I (U+0CBF), E (U+0CC6), AU (U+0CCC), AI length mark (U+0CD6). - Below-base matras (
MatraPos = 4): Vocalic R (U+0CC3), Vocalic RR (U+0CC4), Vocalic L matra (U+0CE2), Vocalic LL matra (U+0CE3). - Post-base matras (
MatraPos = 2): AA (U+0CBE), U (U+0CC1), UU (U+0CC2), post-base length mark (U+0CD5). - Split matras (
MatraPos = 5): II (U+0CC0), EE (U+0CC7), AI (U+0CC8), O (U+0CCA), OO (U+0CCB). All decomposed byApplyKannadaReorderper Unicode 16.0 canonical decomposition data;U+0CCBis uniquely three-part. - Halant:
U+0CCD. - Two bindu codepoints (candrabindu / anusvara) at
U+0C81–U+0C82; visarga atU+0C83.
See also
ApplyKannadaReorderApplyIndicReorderGetDevanagariCategoryGetBengaliCategoryGetGujaratiCategoryGetTamilCategory- Kannada reorder pre-passApplyIndicReorder- Indic dispatcher
Version history
- v2.119.75 - Introduced as part of the HotPDF Indic shaping batch