This commit is contained in:
Ebrahim Byagowi 2020-03-26 12:01:53 +04:30
parent cc977b6e5c
commit 071e2e345f
2 changed files with 4 additions and 4 deletions

View File

@ -3056,7 +3056,7 @@ struct GSUBGPOS
#ifdef HB_NO_VAR #ifdef HB_NO_VAR
return false; return false;
#endif #endif
return (version.to_int () >= 0x00010001u ? this+featureVars : Null(FeatureVariations)) return (version.to_int () >= 0x00010001u ? this+featureVars : Null (FeatureVariations))
.find_index (coords, num_coords, index); .find_index (coords, num_coords, index);
} }
const Feature& get_feature_variation (unsigned int feature_index, const Feature& get_feature_variation (unsigned int feature_index,

View File

@ -39,7 +39,7 @@ struct hb_ot_shape_plan_key_t
void init (hb_face_t *face, void init (hb_face_t *face,
const int *coords, const int *coords,
unsigned int num_coords) unsigned num_coords)
{ {
for (unsigned int table_index = 0; table_index < 2; table_index++) for (unsigned int table_index = 0; table_index < 2; table_index++)
hb_ot_layout_table_find_feature_variations (face, hb_ot_layout_table_find_feature_variations (face,