diff options
-rw-r--r-- | src/cairo-ft-font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c index 90f410c7..1ab56be8 100644 --- a/src/cairo-ft-font.c +++ b/src/cairo-ft-font.c @@ -759,7 +759,7 @@ _compute_transform (cairo_ft_font_transform_t *sf, if ((magnify && distance >= 0) || fabs (distance) <= min_distance) { magnify = distance < 0; - min_distance = abs (distance); + min_distance = fabs (distance); best_i = i; best_x_size = x_size; best_y_size = y_size; |