aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/html.c b/html.c
index 95df14ea..9d3ca523 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.208 2017/03/13 19:01:38 schwarze Exp $ */
+/* $Id: html.c,v 1.209 2017/03/14 01:35:15 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -591,6 +591,8 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...)
break;
su = &mysu;
a2width(arg2, su);
+ /* Increase width to make even bold text fit. */
+ su->scale *= 1.1;
if (fmt[-1] == 'W')
su->scale *= -1.0;
break;