[gvar] is_valid() remove a check

I don't know why this check was there, but it doesn't make sense
because that function never returns 0 / false.
This commit is contained in:
Behdad Esfahbod 2022-11-22 13:56:20 -07:00
parent e8ddf107d0
commit be89919a70
1 changed files with 1 additions and 2 deletions

View File

@ -231,8 +231,7 @@ struct GlyphVariationData
return (index < var_data->tupleVarCount.get_count ()) &&
var_data_bytes.check_range (current_tuple, TupleVariationHeader::min_size) &&
var_data_bytes.check_range (current_tuple, hb_max (current_tuple->get_data_size (),
current_tuple->get_size (axis_count))) &&
current_tuple->get_size (axis_count);
current_tuple->get_size (axis_count)));
}
bool move_to_next ()