From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id edfbf8e4 for ; Sun, 14 May 2017 07:27:58 -0500 (EST) Date: Sun, 14 May 2017 07:27:58 -0500 (EST) Message-Id: <7381998892887749446.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Tweak previous: tb@ noticed that some browser/font combinations X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- 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%. Modified Files: -------------- mdocml: html.c Revision Data ------------- Index: html.c =================================================================== RCS file: /home/cvs/mdocml/mdocml/html.c,v retrieving revision 1.211 retrieving revision 1.212 diff -Lhtml.c -Lhtml.c -u -p -r1.211 -r1.212 --- html.c +++ html.c @@ -615,7 +615,7 @@ print_otag(struct html *h, enum htmltag 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++; -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv