Devanagari

Repositions Devanagari left-positional matras (vowel signs with Indic Positional Category "Left", such as U+093F VOWEL SIGN I) to precede their base consonant cluster: in Unicode logical order they are stored after the cluster they modify, while their glyph is displayed before it.

Namespace: Com\Tecnick\Unicode\Substitution

Final: Yes

File: Devanagari.php line 44

Repositions Devanagari left-positional matras (vowel signs with Indic Positional Category “Left”, such as U+093F VOWEL SIGN I) to precede their base consonant cluster: in Unicode logical order they are stored after the cluster they modify, while their glyph is displayed before it.

A consonant cluster is: base_consonant NUKTA? (VIRAMA base_consonant NUKTA?)* Only base consonants in the ranges U+0915-U+0939, U+0958-U+095F and U+0978-U+097F are recognized as cluster heads. Orphaned matras (no preceding consonant) and unknown codepoints are left unchanged.

Tags

Methods

__construct()

File: Devanagari.php line 56

public __construct(array<int, int> $ordarr) : mixed

Parameters

  • $ordarr : array<int, int>: Array of Unicode codepoints.

getOrdarr()

File: Devanagari.php line 67

public getOrdarr() : array<int, int>

Return values

array<int, int>