From 192445aef2e50087049243ce54ce7059ec441ffa Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 21 Jul 2011 12:13:04 -0400 Subject: [PATCH] Remove intermittent_glyph() Lets not worry about performance for now... --- src/hb-ot-shape-normalize.cc | 3 ++- src/hb-ot-shape-private.hh | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/hb-ot-shape-normalize.cc b/src/hb-ot-shape-normalize.cc index f6e962ce5..0a245b091 100644 --- a/src/hb-ot-shape-normalize.cc +++ b/src/hb-ot-shape-normalize.cc @@ -32,8 +32,9 @@ static bool get_glyph (hb_ot_shape_context_t *c, unsigned int i) { hb_buffer_t *b = c->buffer; + hb_codepoint_t glyph; - return hb_font_get_glyph (c->font, b->info[i].codepoint, 0, &b->info[i].intermittent_glyph()); + return hb_font_get_glyph (c->font, b->info[i].codepoint, 0, &glyph); } static bool diff --git a/src/hb-ot-shape-private.hh b/src/hb-ot-shape-private.hh index 03dd4edcb..96c436de9 100644 --- a/src/hb-ot-shape-private.hh +++ b/src/hb-ot-shape-private.hh @@ -102,8 +102,6 @@ is_variation_selector (hb_codepoint_t unicode) HB_INTERNAL bool _hb_normalize (hb_ot_shape_context_t *c); -#define intermittent_glyph() var2.u32 - HB_END_DECLS #endif /* HB_OT_SHAPE_PRIVATE_HH */