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

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

Issue 1867053004: Roll HarfBuzz to 1.2.6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Roll to 1.2.6 instead Created 4 years, 8 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 if ((info[i].syllable() & 0x0F) == broken_cluster) 432 if ((info[i].syllable() & 0x0F) == broken_cluster)
433 { 433 {
434 has_broken_syllables = true; 434 has_broken_syllables = true;
435 break; 435 break;
436 } 436 }
437 if (likely (!has_broken_syllables)) 437 if (likely (!has_broken_syllables))
438 return; 438 return;
439 439
440 440
441 hb_codepoint_t dottedcircle_glyph; 441 hb_codepoint_t dottedcircle_glyph;
442 if (!font->get_glyph (0x25CCu, 0, &dottedcircle_glyph)) 442 if (!font->get_nominal_glyph (0x25CCu, &dottedcircle_glyph))
443 return; 443 return;
444 444
445 hb_glyph_info_t dottedcircle = {0}; 445 hb_glyph_info_t dottedcircle = {0};
446 dottedcircle.codepoint = 0x25CCu; 446 dottedcircle.codepoint = 0x25CCu;
447 set_myanmar_properties (dottedcircle); 447 set_myanmar_properties (dottedcircle);
448 dottedcircle.codepoint = dottedcircle_glyph; 448 dottedcircle.codepoint = dottedcircle_glyph;
449 449
450 buffer->clear_output (); 450 buffer->clear_output ();
451 451
452 buffer->idx = 0; 452 buffer->idx = 0;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 NULL, /* data_destroy */ 529 NULL, /* data_destroy */
530 NULL, /* preprocess_text */ 530 NULL, /* preprocess_text */
531 NULL, /* postprocess_glyphs */ 531 NULL, /* postprocess_glyphs */
532 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS_NO_SHORT_CIRCUIT, 532 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS_NO_SHORT_CIRCUIT,
533 NULL, /* decompose */ 533 NULL, /* decompose */
534 NULL, /* compose */ 534 NULL, /* compose */
535 setup_masks_myanmar, 535 setup_masks_myanmar,
536 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_EARLY, 536 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_EARLY,
537 false, /* fallback_position */ 537 false, /* fallback_position */
538 }; 538 };
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