diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-14 12:27:28 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-14 12:27:28 +0000 |
commit | a5384018b2d1cff39ce52d3d3e1b9af546c20b8a (patch) | |
tree | b794c2f7ed626225e71b1852a2ebcf832f0c9ce9 | |
parent | 3fec44d9300e7b532fd53472f9ad052381c17bc7 (diff) | |
download | mandoc-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%.
-rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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++; |