diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-05-14 12:27:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-05-14 12:27:00 +0000 |
commit | 49620758e1684f8af2048287b700caf821a194bf (patch) | |
tree | 102e185181a993899a6f3665233e9201aab86705 | |
parent | 49eade38fd56e8fac516f88aebb7cdbd9d658972 (diff) |
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-- | usr.bin/mandoc/html.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/html.c b/usr.bin/mandoc/html.c index 1f4286f66d4..4c6a3d9416d 100644 --- a/usr.bin/mandoc/html.c +++ b/usr.bin/mandoc/html.c @@ -1,4 +1,4 @@ -/* $OpenBSD: html.c,v 1.81 2017/05/12 17:56:39 schwarze Exp $ */ +/* $OpenBSD: html.c,v 1.82 2017/05/14 12:26:59 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -613,7 +613,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++; |