diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-21 16:55:35 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-21 16:55:35 +0000 |
commit | 6e13c2fb0a9b386bcca999a5744a655ec3721aad (patch) | |
tree | 461ffcbde37aff1ef6bce80cbfb0045e43032ce1 /amiga | |
parent | 4ff22c67df940cdf6bd635e27ae07db0f3737b21 (diff) | |
download | netsurf-6e13c2fb0a9b386bcca999a5744a655ec3721aad.tar.gz netsurf-6e13c2fb0a9b386bcca999a5744a655ec3721aad.tar.bz2 |
Scale font sizes, for better accuracy.
svn path=/trunk/netsurf/; revision=8657
Diffstat (limited to 'amiga')
-rw-r--r-- | amiga/font.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/amiga/font.c b/amiga/font.c index 6a707e512..cd7d834e2 100644 --- a/amiga/font.c +++ b/amiga/font.c @@ -270,12 +270,12 @@ struct OutlineFont *ami_open_outline_font(const plot_font_style_t *fstyle) ysize = fstyle->size; - if(ysize < (option_font_min_size / 10)) - ysize = option_font_min_size / 10; + if(ysize < (option_font_min_size / 10) * FONT_SIZE_SCALE) + ysize = (option_font_min_size / 10) * FONT_SIZE_SCALE; if(ESetInfo(&ofont->olf_EEngine, OT_DeviceDPI,(72<<16) | 72, - OT_PointHeight,(ysize<<16), + OT_PointHeight,(ysize<<16)/FONT_SIZE_SCALE, TAG_END) == OTERR_Success) { return ofont; |