diff options
Diffstat (limited to 'render/font.c')
-rw-r--r-- | render/font.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/font.c b/render/font.c index 089fcff5a..11135d959 100644 --- a/render/font.c +++ b/render/font.c @@ -35,7 +35,8 @@ void font_plot_style_from_css(const struct css_style *css, plot_font_style_t *fstyle) { fstyle->family = plot_font_generic_family(css->font_family); - fstyle->size = css_len2pt(&css->font_size.value.length, css); + fstyle->size = + css_len2pt(&css->font_size.value.length, css) * FONT_SIZE_SCALE; fstyle->weight = plot_font_weight(css->font_weight); fstyle->flags = plot_font_flags(css->font_style, css->font_variant); fstyle->foreground = css->color; |