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 ar

Namespace: Com\Tecnick\Unicode\Substitution

final class Devanagari

Source: src/Substitution/Devanagari.php: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.

Methods

__construct()

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

Parameters:

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

Source: src/Substitution/Devanagari.php:56

getOrdarr()

Returns the transformed codepoint array.

public getOrdarr(): list<int>

Returns: list<int>

Source: src/Substitution/Devanagari.php:67