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 the codepoint array.

Table of contents

ComTecnickUnicodeSubstitution

Final: Yes

File: Devanagari.php line 48

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 the codepoint array.

In Unicode logical order a left matra is stored after the consonant (or conjunct cluster) it modifies. For PDF glyph streams the matra glyph must appear before the consonant, so each left matra is moved to immediately before the cluster that precedes it.

A consonant cluster is: base_consonant (VIRAMA base_consonant)* Only base consonants in the range U+0915–U+0939 and U+0958–U+095F are recognised as cluster heads. Orphaned matras (no preceding consonant) and unknown codepoints are left unchanged.

Tags

Methods

__construct()

File: Devanagari.php line 60

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

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

getOrdarr()

File: Devanagari.php line 71

public getOrdarr() : array<int, int>

Return values

array<int, int>

 

© 2004-2026 – Nicola Asuni - Tecnick.com - All rights reserved.
sponsor - legal notice - privacy