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

The change to `round` wasn't intended
pull/1922/head
Ebrahim Byagowi 6 years ago committed by GitHub
parent e67cb500e9
commit bbad1b8298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/hb-aat-layout-trak-table.hh

@ -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

Loading…
Cancel
Save