From fecdfa95daf4916695f23e7dab89ab363be11b89 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 7 Oct 2012 17:19:58 -0400 Subject: [PATCH] Fixup hb_ot_shape_closure() Broke it when merged cmap mapping and normalizer. Ouch! --- src/hb-ot-shape.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index 3f72fd092..313766af3 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -589,7 +589,7 @@ hb_ot_map_glyphs_dumb (hb_font_t *font, { unsigned int count = buffer->len; for (unsigned int i = 0; i < count; i++) - font->get_glyph (buffer->cur().codepoint, 0, &buffer->cur().codepoint); + font->get_glyph (buffer->info[i].codepoint, 0, &buffer->info[i].codepoint); } void