[ot] Change buffer content type right after we map to glyphs

Needed for upcoming debug output changes.
pull/129/head
Behdad Esfahbod 9 years ago
parent d104415e4c
commit e47b772a56
  1. 2
      src/hb-ot-shape.cc

@ -513,6 +513,8 @@ hb_ot_map_glyphs_fast (hb_buffer_t *buffer)
hb_glyph_info_t *info = buffer->info; hb_glyph_info_t *info = buffer->info;
for (unsigned int i = 0; i < count; i++) for (unsigned int i = 0; i < count; i++)
info[i].codepoint = info[i].glyph_index(); info[i].codepoint = info[i].glyph_index();
buffer->content_type = HB_BUFFER_CONTENT_TYPE_GLYPHS;
} }
static inline void static inline void

Loading…
Cancel
Save