Table of contents
Namespace: Com\Tecnick\Unicode\Data
final class Devanagari
Source: src/Data/Devanagari.php:38
Devanagari codepoint tables for character substitution and cluster reordering.
Constants
BASE_CONSONANT_ADD_FIRST
First codepoint of the additional Devanagari consonant range.
U+0978 DEVANAGARI LETTER MARWARI DDA
public const BASE_CONSONANT_ADD_FIRST = 0x978
Source: src/Data/Devanagari.php:107
BASE_CONSONANT_ADD_LAST
Last codepoint of the additional Devanagari consonant range.
U+097F DEVANAGARI LETTER BBA
public const BASE_CONSONANT_ADD_LAST = 0x97f
Source: src/Data/Devanagari.php:114
BASE_CONSONANT_EXT_FIRST
First codepoint of the extended Devanagari consonant range (consonants with nukta, deprecated precomposed forms).
U+0958 DEVANAGARI LETTER QA
public const BASE_CONSONANT_EXT_FIRST = 0x958
Source: src/Data/Devanagari.php:93
BASE_CONSONANT_EXT_LAST
Last codepoint of the extended Devanagari consonant range.
U+095F DEVANAGARI LETTER YYA
public const BASE_CONSONANT_EXT_LAST = 0x95f
Source: src/Data/Devanagari.php:100
BASE_CONSONANT_FIRST
First codepoint of the standard Devanagari consonant range.
U+0915 DEVANAGARI LETTER KA
public const BASE_CONSONANT_FIRST = 0x915
Source: src/Data/Devanagari.php:78
BASE_CONSONANT_LAST
Last codepoint of the standard Devanagari consonant range.
U+0939 DEVANAGARI LETTER HA
public const BASE_CONSONANT_LAST = 0x939
Source: src/Data/Devanagari.php:85
LEFT_MATRAS
Devanagari vowel signs with Indic Positional Category “Left”.
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.
public const LEFT_MATRAS = [
0x93f => true,
// DEVANAGARI VOWEL SIGN I
0x94e => true,
]
Source: src/Data/Devanagari.php:50
NUKTA
Devanagari Nukta (U+093C).
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.
public const NUKTA = 0x93c
Source: src/Data/Devanagari.php:71
VIRAMA
Devanagari Virama (U+094D).
Joins two consonants into a conjunct cluster. When scanning a consonant cluster for pre-base matra reordering, consecutive (consonant + VIRAMA) pairs extend the cluster.
public const VIRAMA = 0x94d
Source: src/Data/Devanagari.php:62