GetBengaliCategory

Firma

function GetBengaliCategory(CP: Cardinal): Integer;

Scopo

Pure Unicode-codepoint → Bengali syllabic-category lookup. No font state required. Returns one of 13 category codes (same numbering as GetDevanagariCategory) used by the reorder pre-pass and by manual producer-side shaping pipelines

Valori restituiti

CodiceCategoriaCodepoint di esempio
0OtherU+09BD Avagraha, U+0984 (reserved)
1ConsonantBengali consonants
2Independent vowelU+0985–U+098C, U+098F–U+0990, U+0993–U+0994, U+09E0–U+09E1
3MatraU+09BE–U+09C4, U+09C7–U+09C8, U+09CB–U+09CC, U+09D7, U+09E2–U+09E3
4ViramaU+09CD
5NuktaU+09BC
6BinduU+0981–U+0982
7Visargavisarga sign
9DigitU+09E6–U+09EF
10ZWJU+200D
11ZWNJU+200C

I codepoint fuori dal blocco bengali (U+0980–U+09FF) restituiscono la categoria 0 (Other); il dispatcher in ApplyIndicReorder li gestisce tramite la funzione di categoria di un altro script oppure li lascia passare

Assegnazioni specifiche del bengalese

  • U+09C7 E e U+09C8 AI: matra pre-base (MatraPos = 1), diversamente dal devanagari dove E/AI sono above-base.
  • U+09CB Oo e U+09CC AU: split matras (MatraPos = 5), decomposed at reorder time.
  • U+09CE KHANDA TA: classified as Consonant (category 1).
  • No above-base matras (MatraPos = 3 unused for Bengali).

Vedi anche

Cronologia versioni

  • v2.119.71 — Introdotta nella Phase 8f.2.