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

The change to `round` wasn't intended
This commit is contained in:
Ebrahim Byagowi 2019-08-20 14:46:48 +04:30 committed by GitHub
parent e67cb500e9
commit bbad1b8298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,8 +126,8 @@ struct TrackData
if (size_table[size_index].to_float () >= ptem)
break;
return round (interpolate_at (size_index ? size_index - 1 : 0, ptem,
*trackTableEntry, base));
return roundf (interpolate_at (size_index ? size_index - 1 : 0, ptem,
*trackTableEntry, base));
}
bool sanitize (hb_sanitize_context_t *c, const void *base) const