未验证 提交 bbad1b82 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

[trak] minor, use roundf instead round to normalize the use

The change to `round` wasn't intended
上级 e67cb500
...@@ -126,8 +126,8 @@ struct TrackData ...@@ -126,8 +126,8 @@ struct TrackData
if (size_table[size_index].to_float () >= ptem) if (size_table[size_index].to_float () >= ptem)
break; break;
return round (interpolate_at (size_index ? size_index - 1 : 0, ptem, return roundf (interpolate_at (size_index ? size_index - 1 : 0, ptem,
*trackTableEntry, base)); *trackTableEntry, base));
} }
bool sanitize (hb_sanitize_context_t *c, const void *base) const bool sanitize (hb_sanitize_context_t *c, const void *base) const
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册