diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-24 00:17:43 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-24 00:17:43 +0000 |
commit | cc662408b79e0a82f707c498721c47bdd553301a (patch) | |
tree | 03a16f4acfe33ee27ce5f77ab648a59ad66f1dd1 | |
parent | 48e3221458797328b9a36f92bd636b9483115220 (diff) | |
download | netsurf-cc662408b79e0a82f707c498721c47bdd553301a.tar.gz netsurf-cc662408b79e0a82f707c498721c47bdd553301a.tar.bz2 |
Fix text/plain lineheight calculation
svn path=/trunk/netsurf/; revision=8763
-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)); } |