[trak] minor, use roundf instead round to normalize the use
The change to `round` wasn't intended
This commit is contained in:
parent
e67cb500e9
commit
bbad1b8298
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue