Table of contents
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
- since: 2026-04-30
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2011-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-unicode
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>