diff --git a/src/hb-ot-hmtx-table.hh b/src/hb-ot-hmtx-table.hh index 3cd48a62e93a831eb78e9076d0387741e72d369a..bff792a6013d88f6d0092bf84abf0562166b7a36 100644 --- a/src/hb-ot-hmtx-table.hh +++ b/src/hb-ot-hmtx-table.hh @@ -264,7 +264,7 @@ struct hmtxvmtx { advance += (font->num_coords ? var_table->get_advance_var (glyph, font->coords, font->num_coords) : 0); // TODO Optimize?! } - return advance; + return advance; } public: diff --git a/src/hb-subset.cc b/src/hb-subset.cc index 9ebe5d31da2b072bc610dee6c92d90c12dff11cc..e2d9a89d66fe7574e523e084244290cdd6e151bc 100644 --- a/src/hb-subset.cc +++ b/src/hb-subset.cc @@ -252,6 +252,9 @@ _subset_table (hb_subset_plan_t *plan, case HB_OT_TAG_hmtx: result = _subset (plan); break; + case HB_OT_TAG_vmtx: + result = _subset (plan); + break; case HB_OT_TAG_maxp: result = _subset (plan); break;