diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2015-08-18 18:42:47 +0100 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2015-08-18 18:42:47 +0100 |
commit | e47b772a56af44a9a4f9ec907ee2091b725b94c1 (patch) | |
tree | a7b51b951bc2001f354ce6e7b39d2ac1c457b66b | |
parent | d104415e4c1e0f9140f794cd8d09c6460c63e966 (diff) | |
download | harfbuzz-e47b772a56af44a9a4f9ec907ee2091b725b94c1.tar.gz |
[ot] Change buffer content type right after we map to glyphs
Needed for upcoming debug output changes.
-rw-r--r-- | src/hb-ot-shape.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index f20be2aa..e24f7a83 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 |