Imported Upstream version 2.6.7
[platform/upstream/harfbuzz.git] / src / hb-ot-head-table.hh
index 3c0bb3d..5613a96 100644 (file)
@@ -54,6 +54,18 @@ struct head
     return 16 <= upem && upem <= 16384 ? upem : 1000;
   }
 
+  bool serialize (hb_serialize_context_t *c) const
+  {
+    TRACE_SERIALIZE (this);
+    return_trace ((bool) c->embed (this));
+  }
+
+  bool subset (hb_subset_context_t *c) const
+  {
+    TRACE_SUBSET (this);
+    return_trace (serialize (c->serializer));
+  }
+
   enum mac_style_flag_t {
     BOLD       = 1u<<0,
     ITALIC     = 1u<<1,