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
| Codice | Categoria | Codepoint di esempio |
|---|---|---|
| 0 | Other | U+09BD Avagraha, U+0984 (reserved) |
| 1 | Consonant | Bengali consonants |
| 2 | Independent vowel | U+0985–U+098C, U+098F–U+0990, U+0993–U+0994, U+09E0–U+09E1 |
| 3 | Matra | U+09BE–U+09C4, U+09C7–U+09C8, U+09CB–U+09CC, U+09D7, U+09E2–U+09E3 |
| 4 | Virama | U+09CD |
| 5 | Nukta | U+09BC |
| 6 | Bindu | U+0981–U+0982 |
| 7 | Visarga | visarga sign |
| 9 | Digit | U+09E6–U+09EF |
| 10 | ZWJ | U+200D |
| 11 | ZWNJ | U+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+09C7E eU+09C8AI: matra pre-base (MatraPos = 1), diversamente dal devanagari dove E/AI sono above-base.U+09CBOo eU+09CCAU: split matras (MatraPos = 5), decomposed at reorder time.U+09CEKHANDA TA: classified as Consonant (category 1).- No above-base matras (MatraPos = 3 unused for Bengali).
Vedi anche
ApplyBengaliReorder- Pre-pass di riordino BengaliApplyIndicReorder— dispatcher indic totale.GetDevanagariCategory— controparte devanagari
Cronologia versioni
- v2.119.71 — Introdotta nella Phase 8f.2.