| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2011,2012,2013 Google, Inc. | 2 * Copyright © 2011,2012,2013 Google, Inc. |
| 3 * | 3 * |
| 4 * This is part of HarfBuzz, a text shaping library. | 4 * This is part of HarfBuzz, a text shaping library. |
| 5 * | 5 * |
| 6 * Permission is hereby granted, without written agreement and without | 6 * Permission is hereby granted, without written agreement and without |
| 7 * license or royalty fees, to use, copy, modify, and distribute this | 7 * license or royalty fees, to use, copy, modify, and distribute this |
| 8 * software and its documentation for any purpose, provided that the | 8 * software and its documentation for any purpose, provided that the |
| 9 * above copyright notice and the following two paragraphs appear in | 9 * above copyright notice and the following two paragraphs appear in |
| 10 * all copies of this software. | 10 * all copies of this software. |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 242 |
| 243 case 0x1038u: case 0x1087u: case 0x1088u: case 0x1089u: | 243 case 0x1038u: case 0x1087u: case 0x1088u: case 0x1089u: |
| 244 case 0x108Au: case 0x108Bu: case 0x108Cu: case 0x108Du: | 244 case 0x108Au: case 0x108Bu: case 0x108Cu: case 0x108Du: |
| 245 case 0x108Fu: case 0x109Au: case 0x109Bu: case 0x109Cu: | 245 case 0x108Fu: case 0x109Au: case 0x109Bu: case 0x109Cu: |
| 246 cat = (indic_category_t) OT_SM; | 246 cat = (indic_category_t) OT_SM; |
| 247 break; | 247 break; |
| 248 | 248 |
| 249 case 0x104Au: case 0x104Bu: | 249 case 0x104Au: case 0x104Bu: |
| 250 cat = (indic_category_t) OT_P; | 250 cat = (indic_category_t) OT_P; |
| 251 break; | 251 break; |
| 252 |
| 253 case 0xAA74u: case 0xAA75u: case 0xAA76u: |
| 254 /* https://github.com/roozbehp/unicode-data/issues/3 */ |
| 255 cat = (indic_category_t) OT_C; |
| 256 break; |
| 252 } | 257 } |
| 253 | 258 |
| 254 if (cat == OT_M) | 259 if (cat == OT_M) |
| 255 { | 260 { |
| 256 switch ((int) pos) | 261 switch ((int) pos) |
| 257 { | 262 { |
| 258 case POS_PRE_C: cat = (indic_category_t) OT_VPre; | 263 case POS_PRE_C: cat = (indic_category_t) OT_VPre; |
| 259 pos = POS_PRE_M; break; | 264 pos = POS_PRE_M; break; |
| 260 case POS_ABOVE_C: cat = (indic_category_t) OT_VAbv; break; | 265 case POS_ABOVE_C: cat = (indic_category_t) OT_VAbv; break; |
| 261 case POS_BELOW_C: cat = (indic_category_t) OT_VBlw; break; | 266 case POS_BELOW_C: cat = (indic_category_t) OT_VBlw; break; |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 NULL, /* data_destroy */ | 534 NULL, /* data_destroy */ |
| 530 NULL, /* preprocess_text */ | 535 NULL, /* preprocess_text */ |
| 531 NULL, /* postprocess_glyphs */ | 536 NULL, /* postprocess_glyphs */ |
| 532 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS_NO_SHORT_CIRCUIT, | 537 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS_NO_SHORT_CIRCUIT, |
| 533 NULL, /* decompose */ | 538 NULL, /* decompose */ |
| 534 NULL, /* compose */ | 539 NULL, /* compose */ |
| 535 setup_masks_myanmar, | 540 setup_masks_myanmar, |
| 536 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_EARLY, | 541 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_EARLY, |
| 537 false, /* fallback_position */ | 542 false, /* fallback_position */ |
| 538 }; | 543 }; |
| OLD | NEW |