mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 13:35:06 +00:00
[coretext] Always set all variations
Even when at default, looks like this is necessary. Fixes https://github.com/harfbuzz/harfbuzz/issues/5142
This commit is contained in:
parent
bd2bf3536c
commit
422ffff15c
1 changed files with 0 additions and 2 deletions
|
@ -86,8 +86,6 @@ _hb_coretext_shaper_font_data_create (hb_font_t *font)
|
|||
hb_ot_var_axis_info_t info;
|
||||
unsigned int c = 1;
|
||||
hb_ot_var_get_axis_infos (font->face, i, &c, &info);
|
||||
if (font->design_coords[i] == info.default_value)
|
||||
continue;
|
||||
float v = hb_clamp (font->design_coords[i], info.min_value, info.max_value);
|
||||
|
||||
CFNumberRef tag_number = CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &info.tag);
|
||||
|
|
Loading…
Add table
Reference in a new issue