mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 05:25:05 +00:00
Merge pull request #5153 from harfbuzz/coretext-variations
[coretext] Always set all variations
This commit is contained in:
commit
6ccfadb911
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