diff --git a/src/hb-ot-layout.hh b/src/hb-ot-layout.hh index ac55459b6..921fd8106 100644 --- a/src/hb-ot-layout.hh +++ b/src/hb-ot-layout.hh @@ -214,7 +214,7 @@ _hb_glyph_info_set_unicode_props (hb_glyph_info_t *info, hb_buffer_t *buffer) { hb_unicode_funcs_t *unicode = buffer->unicode; unsigned int u = info->codepoint; - unsigned int gen_cat = (unsigned int) unicode->general_category (u); + unsigned int gen_cat = (unsigned int) unicode->modified_general_category (u); unsigned int props = gen_cat; if (u >= 0x80)