aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-14 12:27:28 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-14 12:27:28 +0000
commita5384018b2d1cff39ce52d3d3e1b9af546c20b8a (patch)
treeb794c2f7ed626225e71b1852a2ebcf832f0c9ce9 /html.c
parent3fec44d9300e7b532fd53472f9ad052381c17bc7 (diff)
downloadmandoc-a5384018b2d1cff39ce52d3d3e1b9af546c20b8a.tar.gz
mandoc-a5384018b2d1cff39ce52d3d3e1b9af546c20b8a.tar.zst
mandoc-a5384018b2d1cff39ce52d3d3e1b9af546c20b8a.zip
Tweak previous: tb@ noticed that some browser/font combinations
have so amazingly wide bold fonts (for the same nominal font size) that adding 15% to the column width still isn't sufficient to make text reliably fit, so go for 20%.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index 55ef965f..fef0aa0d 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.211 2017/05/12 17:58:21 schwarze Exp $ */
+/* $Id: html.c,v 1.212 2017/05/14 12:27:28 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -615,7 +615,7 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...)
a2width(arg2, su);
if (*fmt == '+') {
/* Increase to make even bold text fit. */
- su->scale *= 1.15;
+ su->scale *= 1.2;
/* Add padding. */
su->scale += 3.0;
fmt++;