mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 02:23:59 +01:00
Merge pull request #5153 from harfbuzz/coretext-variations
[coretext] Always set all variations
This commit is contained in:
1 file changed
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user