提交 a3bd8a0e 编写于 作者: B Behdad Esfahbod

[graphite] Rewrite properly

上级 5072934c
此差异已折叠。
......@@ -117,6 +117,7 @@ _hb_uniscribe_face_get_data (hb_face_t *face)
if (unlikely (!data))
return &_hb_uniscribe_face_data_nil;
hb_blob_t *blob = hb_face_reference_blob (face);
unsigned int blob_length;
const char *blob_data = hb_blob_get_data (blob, &blob_length);
......@@ -129,6 +130,7 @@ _hb_uniscribe_face_get_data (hb_face_t *face)
if (unlikely (!data->fh))
DEBUG_MSG (UNISCRIBE, face, "Face AddFontMemResourceEx() failed");
if (unlikely (!hb_face_set_user_data (face, &hb_uniscribe_data_key, data,
(hb_destroy_func_t) _hb_uniscribe_face_data_destroy,
FALSE)))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册