| 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 26 matching lines...) Expand all Loading... |
| 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, | 44 // HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_UNICODE_EARLY, |
| 45 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_UNICODE_LATE, | 45 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_UNICODE_LATE, |
| 46 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_EARLY, | 46 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_EARLY, |
| 47 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_LATE, | 47 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_LATE |
| 48 | |
| 49 HB_OT_SHAPE_ZERO_WIDTH_MARKS_DEFAULT = HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_UNICODE
_LATE | |
| 50 }; | 48 }; |
| 51 | 49 |
| 52 | 50 |
| 53 /* Master OT shaper list */ | 51 /* Master OT shaper list */ |
| 54 #define HB_COMPLEX_SHAPERS_IMPLEMENT_SHAPERS \ | 52 #define HB_COMPLEX_SHAPERS_IMPLEMENT_SHAPERS \ |
| 55 HB_COMPLEX_SHAPER_IMPLEMENT (default) /* should be first */ \ | 53 HB_COMPLEX_SHAPER_IMPLEMENT (default) /* should be first */ \ |
| 56 HB_COMPLEX_SHAPER_IMPLEMENT (arabic) \ | 54 HB_COMPLEX_SHAPER_IMPLEMENT (arabic) \ |
| 57 HB_COMPLEX_SHAPER_IMPLEMENT (hangul) \ | 55 HB_COMPLEX_SHAPER_IMPLEMENT (hangul) \ |
| 58 HB_COMPLEX_SHAPER_IMPLEMENT (hebrew) \ | 56 HB_COMPLEX_SHAPER_IMPLEMENT (hebrew) \ |
| 59 HB_COMPLEX_SHAPER_IMPLEMENT (myanmar_old) \ | 57 HB_COMPLEX_SHAPER_IMPLEMENT (myanmar_old) \ |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 * GSUB/GPOS needed, so there may be no scripts found! */ | 353 * GSUB/GPOS needed, so there may be no scripts found! */ |
| 356 if (planner->map.chosen_script[0] == HB_TAG ('D','F','L','T')) | 354 if (planner->map.chosen_script[0] == HB_TAG ('D','F','L','T')) |
| 357 return &_hb_ot_complex_shaper_default; | 355 return &_hb_ot_complex_shaper_default; |
| 358 else | 356 else |
| 359 return &_hb_ot_complex_shaper_use; | 357 return &_hb_ot_complex_shaper_use; |
| 360 } | 358 } |
| 361 } | 359 } |
| 362 | 360 |
| 363 | 361 |
| 364 #endif /* HB_OT_SHAPE_COMPLEX_PRIVATE_HH */ | 362 #endif /* HB_OT_SHAPE_COMPLEX_PRIVATE_HH */ |
| OLD | NEW |