[VarComposite] Adjust for RESET_UNSPECIFIED_AXES semantic change
https://github.com/harfbuzz/boring-expansion-spec/issues/81
This commit is contained in:
parent
474b99d122
commit
ef2a8f722f
|
@ -439,7 +439,7 @@ struct Glyph
|
||||||
|
|
||||||
auto component_coords = coords;
|
auto component_coords = coords;
|
||||||
if (item.is_reset_unspecified_axes ())
|
if (item.is_reset_unspecified_axes ())
|
||||||
component_coords = hb_array (font->coords, font->num_coords);
|
component_coords = hb_array<int> ();
|
||||||
|
|
||||||
coord_setter_t coord_setter (component_coords);
|
coord_setter_t coord_setter (component_coords);
|
||||||
item.set_variations (coord_setter, record_points);
|
item.set_variations (coord_setter, record_points);
|
||||||
|
|
|
@ -304,6 +304,9 @@ struct hb_array_t : hb_iter_with_fallback_t<hb_array_t<Type>, Type&>
|
||||||
unsigned int backwards_length = 0;
|
unsigned int backwards_length = 0;
|
||||||
};
|
};
|
||||||
template <typename T> inline hb_array_t<T>
|
template <typename T> inline hb_array_t<T>
|
||||||
|
hb_array ()
|
||||||
|
{ return hb_array_t<T> (); }
|
||||||
|
template <typename T> inline hb_array_t<T>
|
||||||
hb_array (T *array, unsigned int length)
|
hb_array (T *array, unsigned int length)
|
||||||
{ return hb_array_t<T> (array, length); }
|
{ return hb_array_t<T> (array, length); }
|
||||||
template <typename T, unsigned int length_> inline hb_array_t<T>
|
template <typename T, unsigned int length_> inline hb_array_t<T>
|
||||||
|
|
Loading…
Reference in New Issue