GetSinhalaCategory
Firma
function GetSinhalaCategory(CP: Cardinal): Integer;
Scopo
Pure Unicode-codepoint → Sinhala syllabic-category lookup. No font state required. Returns one of 13 category codes (same numbering as
GetDevanagariCategory)
Valori restituiti
| Codice | Categoria | Codepoint di esempio |
|---|---|---|
| 0 | Other | Non assegnati / riservati nel blocco |
| 1 | Consonant | Sinhala consonants |
| 2 | Independent vowel | U+0D85–U+0D96 |
| 3 | Matra | U+0DCF–U+0DD1, U+0DD2–U+0DD4, U+0DD6, U+0DD8–U+0DDF, U+0DF2–U+0DF3 |
| 4 | Virama | U+0DCA |
| 6 | Bindu | U+0D81–U+0D82 (combining anusvara, anusvara) |
| 7 | Visarga | visarga sign |
| 9 | Digit | U+0DE6–U+0DEF |
| 10 | ZWJ | U+200D |
| 11 | ZWNJ | U+200C |
Note
- Tre matre prima della base (
MatraPos = 1): E (U+0DD9), EE (U+0DDA), AI (U+0DDB). Sinhala has more pre-base matras than any other Phase 8f Brahmic script. - Matre sopra la base (
MatraPos = 3): I (U+0DD2), II (U+0DD3). - Matre sotto la base (
MatraPos = 4): U (U+0DD4), UU (U+0DD6). - Matre dopo la base (
MatraPos = 2): AA (U+0DCF), AE (U+0DD0), AAE (U+0DD1), Vocalic R matra (U+0DD8), L matra (U+0DDF), LL / LLL matras (U+0DF2–U+0DF3). - Matra divisi (
MatraPos = 5): O (U+0DDC), OO (U+0DDD), AU (U+0DDE). Tutti e tre vengono scomposti daApplySinhalaReordersecondo la scomposizione canonica di Unicode 16.0;U+0DDDOO è una divisione in tre parti (pre + post + post). - Il halant è
U+0DCA(named AL-LAKUNA in Sinhala). - Two bindu codepoints (combining anusvara and anusvara) at
U+0D81–U+0D82; visarga atU+0D83.
Vedere anche
Cronologia versioni
- v2.119.77 — Introdotta nella Phase 8f.8.