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

Needed for upcoming debug output changes.
This commit is contained in:
Behdad Esfahbod 2015-08-18 18:42:47 +01:00
parent d104415e4c
commit e47b772a56
1 changed files with 2 additions and 0 deletions

View File

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