From 6e13c2fb0a9b386bcca999a5744a655ec3721aad Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 21 Jul 2009 16:55:35 +0000 Subject: Scale font sizes, for better accuracy. svn path=/trunk/netsurf/; revision=8657 --- amiga/font.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'amiga/font.c') 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; -- cgit v1.2.3