Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc

Issue 475363002: Roll HarfBuzz to 0.9.35 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Windows build fix attempt Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 529
530 /* Zero syllables now... */ 530 /* Zero syllables now... */
531 for (unsigned int i = 0; i < count; i++) 531 for (unsigned int i = 0; i < count; i++)
532 info[i].syllable() = 0; 532 info[i].syllable() = 0;
533 533
534 HB_BUFFER_DEALLOCATE_VAR (buffer, myanmar_category); 534 HB_BUFFER_DEALLOCATE_VAR (buffer, myanmar_category);
535 HB_BUFFER_DEALLOCATE_VAR (buffer, myanmar_position); 535 HB_BUFFER_DEALLOCATE_VAR (buffer, myanmar_position);
536 } 536 }
537 537
538 538
539 /* Uniscribe seems to have a shaper for 'mymr' that is like the
540 * generic shaper, except that it zeros mark advances GDEF_LATE. */
541 const hb_ot_complex_shaper_t _hb_ot_complex_shaper_myanmar_old =
542 {
543 "default",
544 NULL, /* collect_features */
545 NULL, /* override_features */
546 NULL, /* data_create */
547 NULL, /* data_destroy */
548 NULL, /* preprocess_text */
549 HB_OT_SHAPE_NORMALIZATION_MODE_DEFAULT,
550 NULL, /* decompose */
551 NULL, /* compose */
552 NULL, /* setup_masks */
553 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_LATE,
554 true, /* fallback_position */
555 };
556
539 const hb_ot_complex_shaper_t _hb_ot_complex_shaper_myanmar = 557 const hb_ot_complex_shaper_t _hb_ot_complex_shaper_myanmar =
540 { 558 {
541 "myanmar", 559 "myanmar",
542 collect_features_myanmar, 560 collect_features_myanmar,
543 override_features_myanmar, 561 override_features_myanmar,
544 NULL, /* data_create */ 562 NULL, /* data_create */
545 NULL, /* data_destroy */ 563 NULL, /* data_destroy */
546 NULL, /* preprocess_text */ 564 NULL, /* preprocess_text */
547 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS_NO_SHORT_CIRCUIT, 565 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS_NO_SHORT_CIRCUIT,
548 NULL, /* decompose */ 566 NULL, /* decompose */
549 NULL, /* compose */ 567 NULL, /* compose */
550 setup_masks_myanmar, 568 setup_masks_myanmar,
551 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_EARLY, 569 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_EARLY,
552 false, /* fallback_position */ 570 false, /* fallback_position */
553 }; 571 };
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc ('k') | third_party/harfbuzz-ng/src/hb-ot-shape-complex-private.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698