diff --git a/src/hb-ot-hmtx-table.hh b/src/hb-ot-hmtx-table.hh index 3cd48a62e..bff792a60 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 9ebe5d31d..e2d9a89d6 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;