diff options
Diffstat (limited to 'render/font.c')
-rw-r--r-- | render/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/font.c b/render/font.c index c731bc60c..87511b261 100644 --- a/render/font.c +++ b/render/font.c @@ -45,8 +45,8 @@ void font_plot_style_from_css(const css_computed_style *css, css_computed_font_family(css, &families)); css_computed_font_size(css, &length, &unit); - fstyle->size = FIXTOINT(FMULI(nscss_len2pt(length, unit), - FONT_SIZE_SCALE)); + fstyle->size = FIXTOINT(FMUL(nscss_len2pt(length, unit), + INTTOFIX(FONT_SIZE_SCALE))); /* Clamp font size to configured minimum */ if (fstyle->size < (option_font_min_size * FONT_SIZE_SCALE) / 10) |