summaryrefslogtreecommitdiff
path: root/desktop/font_haru.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/font_haru.c')
-rw-r--r--desktop/font_haru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/font_haru.c b/desktop/font_haru.c
index f92d89197..4ee9824f0 100644
--- a/desktop/font_haru.c
+++ b/desktop/font_haru.c
@@ -352,7 +352,7 @@ bool haru_nsfont_apply_style(const plot_font_style_t *fstyle,
if (size <= 0)
return true;
- size /= FONT_SIZE_SCALE;
+ size /= PLOT_STYLE_SCALE;
if (size > HPDF_MAX_FONTSIZE)
size = HPDF_MAX_FONTSIZE;