[hvar] Rename advance function for clarity

This commit is contained in:
Behdad Esfahbod 2022-07-03 13:04:27 -06:00
parent 9f974cae4a
commit 23435d5285
2 changed files with 6 additions and 6 deletions

View File

@ -295,7 +295,7 @@ struct hmtxvmtx
return advance;
if (var_table.get_length ())
return advance + roundf (var_table->get_advance_var (glyph,
return advance + roundf (var_table->get_advance_delta_unscaled (glyph,
font->coords, font->num_coords,
store_cache)); // TODO Optimize?!

View File

@ -319,7 +319,7 @@ struct HVARVVAR
hvar_plan.index_map_plans.as_array ()));
}
float get_advance_var (hb_codepoint_t glyph,
float get_advance_delta_unscaled (hb_codepoint_t glyph,
const int *coords, unsigned int coord_count,
VariationStore::cache_t *store_cache = nullptr) const
{