mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 16:31:14 +01:00
Port sbix off of Sanitizer<>
This commit is contained in:
1 parent
9583e0077d
commit
740ae27d5c
1 file changed
+1
-3
@@ -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> ();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user