mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
[uniscribe] Unbreak
This commit is contained in:
1 parent
c0975e1231
commit
a9057eb3f3
1 file changed
+2
-2
@@ -219,11 +219,11 @@ hb_uniscribe_shape (hb_font_t *font,
|
||||
} HB_STMT_END;
|
||||
|
||||
hb_uniscribe_face_data_t *face_data = _hb_uniscribe_face_get_data (font->face);
|
||||
if (unlikely (!face_data))
|
||||
if (unlikely (!face_data->fh))
|
||||
FAIL ("Couldn't get face data");
|
||||
|
||||
hb_uniscribe_font_data_t *font_data = _hb_uniscribe_font_get_data (font);
|
||||
if (unlikely (!font_data))
|
||||
if (unlikely (!font_data->hfont))
|
||||
FAIL ("Couldn't get font font");
|
||||
|
||||
if (unlikely (!buffer->len))
|
||||
|
||||
Reference in new issue
Block a user