提交 740ae27d 编写于 作者: B Behdad Esfahbod

Port sbix off of Sanitizer<>

上级 9583e007
......@@ -96,9 +96,7 @@ struct sbix
{
inline void init (hb_face_t *face)
{
/* XXX Using public API instead of private method to avoid link problem in dump_emoji.
* Kill that! */
sbix_blob = OT::Sanitizer<OT::sbix>(hb_face_get_glyph_count (face)/*face->get_num_glyphs ()*/).sanitize (face->reference_table (HB_OT_TAG_sbix));
sbix_blob = OT::hb_sanitize_context_t().reference_table<OT::sbix> (face);
sbix_len = hb_blob_get_length (sbix_blob);
sbix_table = sbix_blob->as<OT::sbix> ();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册