summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-05-09 14:30:17 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-05-09 14:30:17 +0000
commitc28114732a96c3a0a476fbf85cf4711405e6e8cc (patch)
tree9dbe1b5bec39e7619ef01e56cba14d3e9fc9627a /amiga
parent65a888dd87287e474fd8ff84fc8e79ea57c7d66d (diff)
downloadnetsurf-c28114732a96c3a0a476fbf85cf4711405e6e8cc.tar.gz
netsurf-c28114732a96c3a0a476fbf85cf4711405e6e8cc.tar.bz2
Adjust minimum font size
svn path=/trunk/netsurf/; revision=7450
Diffstat (limited to 'amiga')
-rw-r--r--amiga/font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/font.c b/amiga/font.c
index d5e36013d..1a02fe41a 100644
--- a/amiga/font.c
+++ b/amiga/font.c
@@ -282,8 +282,8 @@ struct OutlineFont *ami_open_outline_font(const struct css_style *style)
ysize = css_len2pt(&style->font_size.value.length, style);
- if(ysize < option_font_min_size)
- ysize = option_font_min_size;
+ if(ysize < (option_font_min_size / 10))
+ ysize = option_font_min_size / 10;
if(ESetInfo(&ofont->olf_EEngine,
OT_DeviceDPI,(72<<16) | 72,