Table of contents
Namespace: Com\Tecnick\Unicode\Data
Final: Yes
File: Devanagari.php line 38
Devanagari codepoint tables for character substitution and cluster reordering.
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
Constants
BASE_CONSONANT_ADD_FIRST
File: Devanagari.php line 107
public mixed BASE_CONSONANT_ADD_FIRST = 0x978
U+0978 DEVANAGARI LETTER MARWARI DDA
BASE_CONSONANT_ADD_LAST
File: Devanagari.php line 114
public mixed BASE_CONSONANT_ADD_LAST = 0x97f
U+097F DEVANAGARI LETTER BBA
BASE_CONSONANT_EXT_FIRST
File: Devanagari.php line 93
public mixed BASE_CONSONANT_EXT_FIRST = 0x958
U+0958 DEVANAGARI LETTER QA
BASE_CONSONANT_EXT_LAST
File: Devanagari.php line 100
public mixed BASE_CONSONANT_EXT_LAST = 0x95f
U+095F DEVANAGARI LETTER YYA
BASE_CONSONANT_FIRST
File: Devanagari.php line 78
public mixed BASE_CONSONANT_FIRST = 0x915
U+0915 DEVANAGARI LETTER KA
BASE_CONSONANT_LAST
File: Devanagari.php line 85
public mixed BASE_CONSONANT_LAST = 0x939
U+0939 DEVANAGARI LETTER HA
LEFT_MATRAS
File: Devanagari.php line 50
public array<int, true> LEFT_MATRAS = [ 0x93f => true, // DEVANAGARI VOWEL SIGN I 0x94e => true, ]
These matras are stored after their base consonant (or consonant cluster) in Unicode logical order but must be rendered to the LEFT of the base in a PDF glyph stream. They are therefore repositioned to precede the consonant cluster during substitution.
NUKTA
File: Devanagari.php line 71
public mixed NUKTA = 0x93c
Combining dot that turns a base consonant into another consonant. It belongs to the consonant it follows, so it is part of the cluster scanned for pre-base matra reordering.
VIRAMA
File: Devanagari.php line 62
public mixed VIRAMA = 0x94d
Joins two consonants into a conjunct cluster. When scanning a consonant cluster for pre-base matra reordering, consecutive (consonant + VIRAMA) pairs extend the cluster.