You need to sign in or sign up before continuing.
提交 343dfe89 编写于 作者: G Garret Rieger

[subset] white and add inline in hb-ot-cmap-table.

上级 24904383
......@@ -556,9 +556,9 @@ struct cmap
return true;
}
hb_bool_t _subset (hb_prealloced_array_t<CmapSubtableLongGroup> &groups,
size_t dest_sz,
void *dest) const
inline hb_bool_t _subset (hb_prealloced_array_t<CmapSubtableLongGroup> &groups,
size_t dest_sz,
void *dest) const
{
hb_serialize_context_t context(dest, dest_sz);
......@@ -605,7 +605,7 @@ struct cmap
return true;
}
hb_blob_t * subset (hb_subset_plan_t *plan, hb_face_t *source) const
inline hb_blob_t * subset (hb_subset_plan_t *plan, hb_face_t *source) const
{
hb_auto_array_t<CmapSubtableLongGroup> groups;
......@@ -633,11 +633,11 @@ struct cmap
}
// all done, write the blob into dest
return hb_blob_create((const char *)dest,
dest_sz,
HB_MEMORY_MODE_READONLY,
/* userdata */ nullptr,
free);
return hb_blob_create ((const char *)dest,
dest_sz,
HB_MEMORY_MODE_READONLY,
/* userdata */ nullptr,
free);
}
struct accelerator_t
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册