Minor note re Graphite

This commit is contained in:
Behdad Esfahbod 2012-04-17 11:44:49 -04:00
parent 4dc2449d92
commit 3cde23664f
1 changed files with 3 additions and 0 deletions

View File

@ -221,6 +221,9 @@ _hb_graphite_shape (hb_font_t *font,
buffer->guess_properties (); buffer->guess_properties ();
/* XXX We do a hell of a lot of stuff just to figure out this font
* is not graphite! Shouldn't do. */
hb_gr_font_data_t *data = _hb_gr_font_get_data (font); hb_gr_font_data_t *data = _hb_gr_font_get_data (font);
if (!data->grface) return FALSE; if (!data->grface) return FALSE;