/external/harfbuzz/src/ |
H A D | harfbuzz-hangul.c | 31 // Hangul is a syllable based script. Unicode reserves a large range 49 // A standard syllable is of the form L+V+T*. The above rules allow 149 /* see if we can compose the syllable into a modern hangul */ 231 HB_ShaperItem syllable; local 239 syllable = *item; 244 syllable.item.pos = sstart; 245 syllable.item.length = send-sstart; 246 syllable.glyphs = item->glyphs + first_glyph; 247 syllable.attributes = item->attributes + first_glyph; 248 syllable [all...] |
H A D | harfbuzz-indic.cpp | 1249 // syllable, using the following algorithm: starting from the 1250 // end of the syllable, move backwards until a consonant is 1256 // * If the syllable starts with Ra + H (in a script that has 1261 // farther than 3 consonants from the end of the syllable. 1358 // If the syllable starts with Ra + H, Uniscribe moves 1365 // * the end of the syllable (Kannada) 1410 // to be at the beginning of the syllable, so we just move 1540 // now we have the syllable in the right order, and can start running it through open type. 1553 // glyph in the syllable. 1658 // qDebug("moving prebase matra to position %d in syllable newle 1831 HB_ShaperItem syllable = *item; local [all...] |
H A D | harfbuzz-khmer.c | 34 // center of the syllable, it can be surrounded by coeng (subscript) consonants, vowels, 35 // split vowels, signs... but there is only one base in a syllable, it has to be coded as 36 // the first character of the syllable. 60 // If they are in the same syllable as a coeng consonant, Unicode 3.0 says that they 64 // Each vowel has its own position. Only one vowel per syllable is allowed. 66 // Allowed in a syllable. 93 CF_SPLIT_VOWEL = 0x02000000, /* flag for a split vowel -> the first part is added in front of the syllable */ 94 CF_DOTTED_CIRCLE = 0x04000000, /* add a dotted circle if a character with this flag is the first in a syllable */ 121 // simple classes, they are used in the statetable (in this file) to control the length of a syllable 124 // indicate error in syllable constructio 598 HB_ShaperItem syllable = *item; local [all...] |
H A D | harfbuzz-myanmar.c | 63 Mymr_CF_DOTTED_CIRCLE = 0x10000000, /* add a dotted circle if a character with this flag is the first in a syllable */ 149 {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 1 - exit state (or sp to the right of the syllable) */ 177 with virama where virama should treat as start of next syllable 192 // calculate, using the state table, which one is the last character of the syllable 284 /* according to the table the max length of a syllable should be around 14 chars */ 346 /* copy the rest of the syllable to the output, inserting the kinzi 423 /* now we have the syllable in the right order, and can start running it through open type. */ 465 HB_ShaperItem syllable = *item; local 481 MMDEBUG("syllable from %d, length %d, invalid=%s", sstart, send-sstart, 483 syllable [all...] |
H A D | harfbuzz-tibetan.c | 145 /* now we have the syllable in the right order, and can start running it through open type. */ 212 HB_ShaperItem syllable = *item; local 228 /* IDEBUG("syllable from %d, length %d, invalid=%s", sstart, send-sstart, 230 syllable.item.pos = sstart; 231 syllable.item.length = send-sstart; 232 syllable.glyphs = item->glyphs + first_glyph; 233 syllable.attributes = item->attributes + first_glyph; 234 syllable.offsets = item->offsets + first_glyph; 235 syllable.advances = item->advances + first_glyph; 236 syllable [all...] |
/external/icu4c/common/ |
H A D | normalizer2impl.cpp | 518 // Hangul syllable: decompose algorithmically 550 // Hangul syllable: decompose algorithmically 777 UChar syllable=(UChar) local 784 syllable+=t; // The next character was a Jamo T. 786 *starter=syllable; 1006 * c is not a Hangul syllable or Jamo L because those have "yes" properties. 1018 UChar syllable=(UChar) local 1025 syllable+=t; // The next character was a Jamo T. 1027 buffer.setLastChar(syllable); 1036 // two input characters (L+V) with one output character (LV syllable) 1913 UChar32 syllable= local [all...] |
/external/icu4c/layout/ |
H A D | HangulLayoutEngine.cpp | 111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) argument 127 syllable = (LEUnicode) ((lIndex * VJMO_COUNT + vIndex) * TJMO_COUNT + tIndex + HSYL_FIRST); 132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument 134 le_int32 sIndex = syllable - HSYL_FIRST; 296 * See if the syllable can be composed into a single character. There are 5 307 LEUnicode syllable = 0x0000; local 313 * If the composition consumes the whole decomposed syllable, 316 if (compose(lead, vowel, trail, syllable) == outLength) { 318 outChars[outCharCount] = syllable;
|
H A D | IndicReordering.cpp | 649 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); local 650 le_int32 matra, markStart = syllable; 679 for (i = prev; i < syllable; i += 1) { 749 // Check for REPH at front of syllable 974 prev = syllable; 1113 // If the syllable starts with Ra + Halant ( in a script that has Reph ) and has more than one 1138 // Adjust features and set syllable structure bits 1145 // Since reph can only validly occur at the beginning of a syllable 1146 // We only apply it to the first 2 characters in the syllable, to keep it from 1171 // Don't apply half form to virama that stands alone at the end of a syllable [all...] |
H A D | KhmerReordering.cpp | 34 // simple classes, they are used in the statetable (in this file) to control the length of a syllable 37 // indicate error in syllable construction 59 // _xx character does not combine into syllable, such as numbers, puntuation marks, non-Khmer signs... 100 // within the syllable, but are not in the table) we also get their type back, or an unknown object 243 // in the syllable, but the state could be produced a consonant of any type when 300 {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, // 1 - exit state (or sign to the right of the syllable) 334 // calculate, using the state table, which one is the last character of the syllable 372 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); local 380 for (i = prev; i < syllable; i += 1) { 400 if ( (charClass & KhmerClassTable::CF_COENG) && (i + 1 < syllable) [all...] |
H A D | TibetanReordering.cpp | 35 // simple classes, they are used in the statetable (in this file) to control the length of a syllable 38 // indicate error in syllable construction 252 // in the syllable, but the state could be produced a consonant of any type when 262 {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,}, // 1 - exit state (or sign to the right of the syllable) 297 // calculate, using the state table, which one is the last character of the syllable 334 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); local 347 for (i = prev; i < syllable; i += 1) { 382 prev = syllable; // move the pointer to the start of next syllable
|