mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 13:35:06 +00:00
[font] Remove redundant avar mapping line
The avar mapping happens in hb_ot_var_normalize_coords() call.
This commit is contained in:
parent
592a3d0e96
commit
4056315c86
1 changed files with 0 additions and 3 deletions
|
@ -2648,7 +2648,6 @@ hb_font_set_variations (hb_font_t *font,
|
|||
if (axes[axis_index].axisTag == tag)
|
||||
design_coords[axis_index] = v;
|
||||
}
|
||||
font->face->table.avar->map_coords (normalized, coords_length);
|
||||
|
||||
hb_ot_var_normalize_coords (font->face, coords_length, design_coords, normalized);
|
||||
_hb_font_adopt_var_coords (font, normalized, design_coords, coords_length);
|
||||
|
@ -2720,8 +2719,6 @@ hb_font_set_variation (hb_font_t *font,
|
|||
if (axes[axis_index].axisTag == tag)
|
||||
design_coords[axis_index] = value;
|
||||
|
||||
font->face->table.avar->map_coords (normalized, coords_length);
|
||||
|
||||
hb_ot_var_normalize_coords (font->face, coords_length, design_coords, normalized);
|
||||
_hb_font_adopt_var_coords (font, normalized, design_coords, coords_length);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue