diff --git a/src/hb-aat-var-hvgl-table.cc b/src/hb-aat-var-hvgl-table.cc index 55e176304..b2cb9f4ec 100644 --- a/src/hb-aat-var-hvgl-table.cc +++ b/src/hb-aat-var-hvgl-table.cc @@ -84,7 +84,7 @@ PartShape::get_path_at (const struct hvgl &hvgl, float coord = _.second; bool pos = coord > 0; if (!coord) continue; - double scalar = (double) fabs(coord); + double scalar = (double) fabsf(coord); unsigned column_idx = axis_index * 2 + pos; const auto delta = deltas.get_column (column_idx, axisCount, segmentCount);