summaryrefslogtreecommitdiff
path: root/src/hb-ot-shape-complex-myanmar.cc
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2016-02-24 19:05:23 +0900
committerBehdad Esfahbod <behdad@behdad.org>2016-02-24 19:05:23 +0900
commit8b5bc141cd3a6bfcea3c91a882a630426876ceb3 (patch)
tree9d1b543382a424a7c7d2a8393d16f42d0b467a23 /src/hb-ot-shape-complex-myanmar.cc
parentb30a971bf792b9c683c345e1be25c5a5869a113c (diff)
Add get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
New API: - hb_font_get_nominal_glyph_func_t - hb_font_get_variation_glyph_func_t - hb_font_funcs_set_nominal_glyph_func() - hb_font_funcs_set_variation_glyph_func() - hb_font_get_nominal_glyph() - hb_font_get_variation_glyph() Deprecated API: - hb_font_get_glyph_func_t - hb_font_funcs_set_glyph_func() Clients that implement their own font-funcs are encouraged to replace their get_glyph() implementation with a get_nominal_glyph() and get_variation_glyph() pair. The variation version can assume that variation_selector argument is not zero.
Diffstat (limited to 'src/hb-ot-shape-complex-myanmar.cc')
-rw-r--r--src/hb-ot-shape-complex-myanmar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-shape-complex-myanmar.cc b/src/hb-ot-shape-complex-myanmar.cc
index 7b043440..545765d5 100644
--- a/src/hb-ot-shape-complex-myanmar.cc
+++ b/src/hb-ot-shape-complex-myanmar.cc
@@ -439,7 +439,7 @@ insert_dotted_circles (const hb_ot_shape_plan_t *plan HB_UNUSED,
hb_codepoint_t dottedcircle_glyph;
- if (!font->get_glyph (0x25CCu, 0, &dottedcircle_glyph))
+ if (!font->get_nominal_glyph (0x25CCu, &dottedcircle_glyph))
return;
hb_glyph_info_t dottedcircle = {0};