| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2010,2011,2012 Google, Inc. | 2 * Copyright © 2010,2011,2012 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 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 | 35 |
| 36 | 36 |
| 37 /* buffer var allocations, used by complex shapers */ | 37 /* buffer var allocations, used by complex shapers */ |
| 38 #define complex_var_u8_0() var2.u8[2] | 38 #define complex_var_u8_0() var2.u8[2] |
| 39 #define complex_var_u8_1() var2.u8[3] | 39 #define complex_var_u8_1() var2.u8[3] |
| 40 | 40 |
| 41 | 41 |
| 42 enum hb_ot_shape_zero_width_marks_type_t { | 42 enum hb_ot_shape_zero_width_marks_type_t { |
| 43 HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE, | 43 HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE, |
| 44 // HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_UNICODE_EARLY, | |
| 45 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_UNICODE_LATE, | |
| 46 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_EARLY, | 44 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_EARLY, |
| 47 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_LATE | 45 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_LATE |
| 48 }; | 46 }; |
| 49 | 47 |
| 50 | 48 |
| 51 /* Master OT shaper list */ | 49 /* Master OT shaper list */ |
| 52 #define HB_COMPLEX_SHAPERS_IMPLEMENT_SHAPERS \ | 50 #define HB_COMPLEX_SHAPERS_IMPLEMENT_SHAPERS \ |
| 53 HB_COMPLEX_SHAPER_IMPLEMENT (default) /* should be first */ \ | 51 HB_COMPLEX_SHAPER_IMPLEMENT (default) /* should be first */ \ |
| 54 HB_COMPLEX_SHAPER_IMPLEMENT (arabic) \ | 52 HB_COMPLEX_SHAPER_IMPLEMENT (arabic) \ |
| 55 HB_COMPLEX_SHAPER_IMPLEMENT (hangul) \ | 53 HB_COMPLEX_SHAPER_IMPLEMENT (hangul) \ |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 * GSUB/GPOS needed, so there may be no scripts found! */ | 351 * GSUB/GPOS needed, so there may be no scripts found! */ |
| 354 if (planner->map.chosen_script[0] == HB_TAG ('D','F','L','T')) | 352 if (planner->map.chosen_script[0] == HB_TAG ('D','F','L','T')) |
| 355 return &_hb_ot_complex_shaper_default; | 353 return &_hb_ot_complex_shaper_default; |
| 356 else | 354 else |
| 357 return &_hb_ot_complex_shaper_use; | 355 return &_hb_ot_complex_shaper_use; |
| 358 } | 356 } |
| 359 } | 357 } |
| 360 | 358 |
| 361 | 359 |
| 362 #endif /* HB_OT_SHAPE_COMPLEX_PRIVATE_HH */ | 360 #endif /* HB_OT_SHAPE_COMPLEX_PRIVATE_HH */ |
| OLD | NEW |