summaryrefslogtreecommitdiffstats
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
commite664fb1242d0c30cc4b7ada4a43fb7fa6c71eeb5 (patch)
treeedfec09c76882f7c224a4ae0f752552d3fab5764 /html.c
parentb5dc2a38cb6196ba190ee2a75bc4d0cb0e0856ea (diff)
downloadmandoc-e664fb1242d0c30cc4b7ada4a43fb7fa6c71eeb5.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index b55a1ecc..3bb19cf5 100644
--- a/html.c
+++ b/html.c
@@ -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++;