From: Willy Tarreau Date: Sun, 10 May 2009 18:08:10 +0000 (+0200) Subject: [MINOR] stats/html: use the arial font before helvetica X-Git-Tag: v1.3.18~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a94f2d2ef944e3f54f50e938ff3c8de1a021f7ff;p=thirdparty%2Fhaproxy.git [MINOR] stats/html: use the arial font before helvetica The stats HTML output were barely readable on some browsers such as firefox on Linux, due to the selected helvetica font which is too small. Specifying "arial" first fixes the issue without changing the table size. Also, the default size of 0.8em choosen to get 10px out of 12px is wrong because it gets 9px when rounded down. --- diff --git a/src/dumpstats.c b/src/dumpstats.c index 06094fb7d4..44a924ad21 100644 --- a/src/dumpstats.c +++ b/src/dumpstats.c @@ -375,14 +375,14 @@ int stats_dump_http(struct session *s, struct buffer *rep, struct uri_auth *uri) "\n" "