diff options
-rw-r--r-- | render/textplain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/textplain.c b/render/textplain.c index 256d9b8db..708c6b2f6 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -736,6 +736,7 @@ float textplain_line_height(void) * Then use a constant line height of 1.2 x font size. */ return FIXTOFLT(FDIVI((FMUL(FLTTOFIX(1.2), - FMULI(nscss_screen_dpi, textplain_style.size))), 72)); + FMULI(nscss_screen_dpi, + (textplain_style.size / FONT_SIZE_SCALE)))), 72)); } |