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

CodeCategoryExample codepoints
0Otherfallback or outside range
1ConsonantTelugu consonants
2Independent vowelTelugu vowel letters
3MatraTelugu dependent vowel signs
4Viramahalant or virama
5Nuktanukta mark where the script uses one
6Binduchandrabindu or anusvara
7Visargavisarga sign
9DigitTelugu digits
10ZWJU+200D
11ZWNJU+200C

Notes

  • No pre-base matras. ApplyTeluguReorder and 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): only U+0C48 AI, decomposed by ApplyTeluguReorder into U+0C46 (above) + U+0C56 (below).
  • Halant: U+0C4D.
  • Three bindu codepoints (combining candrabindu / candrabindu / anusvara) at U+0C00–U+0C02; visarga at U+0C03.

See also

Version history

  • v2.119.74 - Introduced as part of the HotPDF Indic shaping batch