* mdocml: Tweak previous: tb@ noticed that some browser/font combinations
@ 2017-05-14 12:27 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-05-14 12:27 UTC (permalink / raw)
To: source
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-14 12:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-14 12:27 mdocml: Tweak previous: tb@ noticed that some browser/font combinations schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).