[graphite2] Bail if grface is NULL

This commit is contained in:
Behdad Esfahbod 2011-08-25 22:46:21 +02:00
parent 3007ffa9e5
commit a499bdea5c
1 changed files with 1 additions and 0 deletions

View File

@ -227,6 +227,7 @@ hb_graphite_shape (hb_font_t *font,
buffer->guess_properties ();
hb_gr_font_data_t *data = _hb_gr_font_get_data (font);
if (!data->grface) return FALSE;
unsigned int charlen;
hb_glyph_info_t *bufferi = hb_buffer_get_glyph_infos (buffer, &charlen);