| 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 | 353 |
| 354 /* Zero syllables now... */ | 354 /* Zero syllables now... */ |
| 355 for (unsigned int i = 0; i < count; i++) | 355 for (unsigned int i = 0; i < count; i++) |
| 356 info[i].syllable() = 0; | 356 info[i].syllable() = 0; |
| 357 | 357 |
| 358 HB_BUFFER_DEALLOCATE_VAR (buffer, sea_category); | 358 HB_BUFFER_DEALLOCATE_VAR (buffer, sea_category); |
| 359 HB_BUFFER_DEALLOCATE_VAR (buffer, sea_position); | 359 HB_BUFFER_DEALLOCATE_VAR (buffer, sea_position); |
| 360 } | 360 } |
| 361 | 361 |
| 362 | 362 |
| 363 static hb_ot_shape_normalization_mode_t | |
| 364 normalization_preference_sea (const hb_segment_properties_t *props HB_UNUSED) | |
| 365 { | |
| 366 return HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS_NO_SHORT_CIRCUIT; | |
| 367 } | |
| 368 | |
| 369 | |
| 370 const hb_ot_complex_shaper_t _hb_ot_complex_shaper_sea = | 363 const hb_ot_complex_shaper_t _hb_ot_complex_shaper_sea = |
| 371 { | 364 { |
| 372 "sea", | 365 "sea", |
| 373 collect_features_sea, | 366 collect_features_sea, |
| 374 override_features_sea, | 367 override_features_sea, |
| 375 NULL, /* data_create */ | 368 NULL, /* data_create */ |
| 376 NULL, /* data_destroy */ | 369 NULL, /* data_destroy */ |
| 377 NULL, /* preprocess_text */ | 370 NULL, /* preprocess_text */ |
| 378 normalization_preference_sea, | 371 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS_NO_SHORT_CIRCUIT, |
| 379 NULL, /* decompose */ | 372 NULL, /* decompose */ |
| 380 NULL, /* compose */ | 373 NULL, /* compose */ |
| 381 setup_masks_sea, | 374 setup_masks_sea, |
| 382 HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE, | 375 HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE, |
| 383 false, /* fallback_position */ | 376 false, /* fallback_position */ |
| 384 }; | 377 }; |
| OLD | NEW |