summaryrefslogtreecommitdiff
path: root/amiga/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/font.c')
-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,