mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[instancer] enable cvar instancing code
This commit is contained in:
parent
366ffd1ef0
commit
0065658e96
2 changed files with 3 additions and 1 deletions
|
@ -75,7 +75,6 @@ hb_subset_input_t::hb_subset_input_t ()
|
|||
HB_TAG ('V', 'D', 'M', 'X'),
|
||||
HB_TAG ('D', 'S', 'I', 'G'),
|
||||
HB_TAG ('M', 'V', 'A', 'R'),
|
||||
HB_TAG ('c', 'v', 'a', 'r'),
|
||||
};
|
||||
sets.no_subset_tables->add_array (default_no_subset_tables,
|
||||
ARRAY_LENGTH (default_no_subset_tables));
|
||||
|
|
|
@ -520,6 +520,9 @@ _subset_table (hb_subset_plan_t *plan,
|
|||
case HB_OT_TAG_avar:
|
||||
if (plan->user_axes_location.is_empty ()) return _passthrough (plan, tag);
|
||||
return _subset<const OT::avar> (plan, buf);
|
||||
case HB_OT_TAG_cvar:
|
||||
if (plan->user_axes_location.is_empty ()) return _passthrough (plan, tag);
|
||||
return _subset<const OT::cvar> (plan, buf);
|
||||
case HB_OT_TAG_STAT:
|
||||
if (!plan->user_axes_location.is_empty ()) return _subset<const OT::STAT> (plan, buf);
|
||||
else return _passthrough (plan, tag);
|
||||
|
|
Loading…
Add table
Reference in a new issue