diff --git a/src/hb-ot-glyf-table.hh b/src/hb-ot-glyf-table.hh index e03d51c69..f2eb91d31 100644 --- a/src/hb-ot-glyf-table.hh +++ b/src/hb-ot-glyf-table.hh @@ -974,8 +974,8 @@ struct glyf : face->table.hmtx->get_side_bearing (gid); return is_vertical - ? ceil (phantoms[PHANTOM_TOP].y) - extents.y_bearing - : floor (phantoms[PHANTOM_LEFT].x); + ? ceilf (phantoms[PHANTOM_TOP].y) - extents.y_bearing + : floorf (phantoms[PHANTOM_LEFT].x); } #endif