Unbreak Fitzpatrick

Fixes https://github.com/harfbuzz/harfbuzz/issues/1159
This commit is contained in:
Behdad Esfahbod 2018-10-03 21:11:13 +02:00
parent 03fb6dd4c7
commit 95e5f1ae69

View File

@ -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)