mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
[subset] Subset vmtx if present.
This commit is contained in:
1 parent
70ad69f244
commit
64cf53d619
2 files changed
+4
-1
No files matched your search
@@ -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:
|
||||
|
||||
@@ -252,6 +252,9 @@ _subset_table (hb_subset_plan_t *plan,
|
||||
case HB_OT_TAG_hmtx:
|
||||
result = _subset<const OT::hmtx> (plan);
|
||||
break;
|
||||
case HB_OT_TAG_vmtx:
|
||||
result = _subset<const OT::vmtx> (plan);
|
||||
break;
|
||||
case HB_OT_TAG_maxp:
|
||||
result = _subset<const OT::maxp> (plan);
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user