From e47b772a56af44a9a4f9ec907ee2091b725b94c1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 18 Aug 2015 18:42:47 +0100 Subject: [PATCH] [ot] Change buffer content type right after we map to glyphs Needed for upcoming debug output changes. --- src/hb-ot-shape.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index f20be2aac..e24f7a837 100644 --- a/src/hb-ot-shape.cc +++ b/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; 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