From a5384018b2d1cff39ce52d3d3e1b9af546c20b8a Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 14 May 2017 12:27:28 +0000 Subject: 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%. --- html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html.c') 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 * Copyright (c) 2011-2015, 2017 Ingo Schwarze @@ -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++; -- cgit v1.2.3