[hvar] Rename advance function for clarity
This commit is contained in:
parent
9f974cae4a
commit
23435d5285
|
@ -295,7 +295,7 @@ struct hmtxvmtx
|
||||||
return advance;
|
return advance;
|
||||||
|
|
||||||
if (var_table.get_length ())
|
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,
|
font->coords, font->num_coords,
|
||||||
store_cache)); // TODO Optimize?!
|
store_cache)); // TODO Optimize?!
|
||||||
|
|
||||||
|
|
|
@ -319,7 +319,7 @@ struct HVARVVAR
|
||||||
hvar_plan.index_map_plans.as_array ()));
|
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,
|
const int *coords, unsigned int coord_count,
|
||||||
VariationStore::cache_t *store_cache = nullptr) const
|
VariationStore::cache_t *store_cache = nullptr) const
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue