GetTeluguCategory
Signature
function GetTeluguCategory(CP: Cardinal): Integer;
Purpose
Returns the HotPDF syllabic category used by the Telugu reorder pre-pass. The function is a codepoint lookup, needs no font state, and returns category 0 for values outside the Telugu rangeGetDevanagariCategory)
Return values
| Code | Category | Example codepoints |
|---|---|---|
| 0 | Other | fallback or outside range |
| 1 | Consonant | Telugu consonants |
| 2 | Independent vowel | Telugu vowel letters |
| 3 | Matra | Telugu 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 | Telugu digits |
| 10 | ZWJ | U+200D |
| 11 | ZWNJ | U+200C |
Notes
- No pre-base matras.
ApplyTeluguReorderand by the full Indic dispatcher - Above-base matras (
MatraPos = 3): AA (U+0C3E), I (U+0C3F), II (U+0C40), E (U+0C46), EE (U+0C47), O (U+0C4A), OO (U+0C4B), AU (U+0C4C), length mark (U+0C55). - Below-base matras (
MatraPos = 4): U (U+0C41), UU (U+0C42), Vocalic R (U+0C43), Vocalic RR (U+0C44), AI length mark (U+0C56), Vocalic L matra (U+0C62), Vocalic LL matra (U+0C63). - Split matra (
MatraPos = 5): onlyU+0C48AI, decomposed byApplyTeluguReorderintoU+0C46(above) +U+0C56(below). - Halant:
U+0C4D. - Three bindu codepoints (combining candrabindu / candrabindu / anusvara) at
U+0C00–U+0C02; visarga atU+0C03.
See also
ApplyTeluguReorderApplyIndicReorderGetDevanagariCategoryGetBengaliCategoryApplyTeluguReorder- Telugu reorder pre-passApplyIndicReorder- Indic dispatcher
Version history
- v2.119.74 - Introduced as part of the HotPDF Indic shaping batch