OLD | NEW |
1 /* == Start of generated table == */ | 1 /* == Start of generated table == */ |
2 /* | 2 /* |
3 * The following table is generated by running: | 3 * The following table is generated by running: |
4 * | 4 * |
5 * ./gen-indic-table.py IndicSyllabicCategory.txt IndicPositionalCategory.txt
Blocks.txt | 5 * ./gen-indic-table.py IndicSyllabicCategory.txt IndicPositionalCategory.txt
Blocks.txt |
6 * | 6 * |
7 * on files with these headers: | 7 * on files with these headers: |
8 * | 8 * |
9 * # IndicSyllabicCategory-9.0.0.txt | 9 * # IndicSyllabicCategory-9.0.0.txt |
10 * # Date: 2016-05-21, 02:46:00 GMT [RP] | 10 * # Date: 2016-05-21, 02:46:00 GMT [RP] |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 if (hb_in_range (u, 0x2070u, 0x2087u)) return indic_table[u - 0x2070u + in
dic_offset_0x2070u]; | 415 if (hb_in_range (u, 0x2070u, 0x2087u)) return indic_table[u - 0x2070u + in
dic_offset_0x2070u]; |
416 if (unlikely (u == 0x25CCu)) return _(CP,x); | 416 if (unlikely (u == 0x25CCu)) return _(CP,x); |
417 break; | 417 break; |
418 | 418 |
419 case 0xAu: | 419 case 0xAu: |
420 if (hb_in_range (u, 0xA8E0u, 0xA8F7u)) return indic_table[u - 0xA8E0u + in
dic_offset_0xa8e0u]; | 420 if (hb_in_range (u, 0xA8E0u, 0xA8F7u)) return indic_table[u - 0xA8E0u + in
dic_offset_0xa8e0u]; |
421 if (hb_in_range (u, 0xA9E0u, 0xA9FFu)) return indic_table[u - 0xA9E0u + in
dic_offset_0xa9e0u]; | 421 if (hb_in_range (u, 0xA9E0u, 0xA9FFu)) return indic_table[u - 0xA9E0u + in
dic_offset_0xa9e0u]; |
422 if (hb_in_range (u, 0xAA60u, 0xAA7Fu)) return indic_table[u - 0xAA60u + in
dic_offset_0xaa60u]; | 422 if (hb_in_range (u, 0xAA60u, 0xAA7Fu)) return indic_table[u - 0xAA60u + in
dic_offset_0xaa60u]; |
423 break; | 423 break; |
424 | 424 |
| 425 case 0x11u: |
| 426 // According to ScriptExtensions.txt, these Grantha marks may also be used
in Tamil, |
| 427 // so the Indic shaper needs to know their categories. |
| 428 if (unlikely (u == 0x11303)) return _(Vs,R); |
| 429 if (unlikely (u == 0x1133c)) return _(N,B); |
| 430 break; |
| 431 |
425 default: | 432 default: |
426 break; | 433 break; |
427 } | 434 } |
428 return _(x,x); | 435 return _(x,x); |
429 } | 436 } |
430 | 437 |
431 #undef _ | 438 #undef _ |
432 | 439 |
433 #undef ISC_A | 440 #undef ISC_A |
434 #undef ISC_Bi | 441 #undef ISC_Bi |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 #undef IMC_R | 482 #undef IMC_R |
476 #undef IMC_T | 483 #undef IMC_T |
477 #undef IMC_TB | 484 #undef IMC_TB |
478 #undef IMC_TBR | 485 #undef IMC_TBR |
479 #undef IMC_TL | 486 #undef IMC_TL |
480 #undef IMC_TLR | 487 #undef IMC_TLR |
481 #undef IMC_TR | 488 #undef IMC_TR |
482 #undef IMC_VOL | 489 #undef IMC_VOL |
483 | 490 |
484 /* == End of generated table == */ | 491 /* == End of generated table == */ |
OLD | NEW |