From f5e75ed5519b5b47bb34547ca91bbac10c5c5981 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 7 Oct 2009 14:39:00 +0000 Subject: Made default string units (-Thtml -mdoc) to use `m' and not `n' scaling (better more than less). Fixed -column widths for -Thtml -mdoc. Fixed left-hand margin padding for -Thtml -mdoc. --- html.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 5e02de12..f61002dd 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.58 2009/10/07 12:35:23 kristaps Exp $ */ +/* $Id: html.c,v 1.59 2009/10/07 14:39:00 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -614,14 +614,21 @@ bufcat_su(struct html *h, const char *p, const struct roffsu *su) case (SCALE_PT): u = "pt"; break; + case (SCALE_EM): + u = "em"; + break; case (SCALE_MM): if (0 == (v /= 100)) v = 1; u = "em"; break; + case (SCALE_EN): + u = "ex"; + break; + case (SCALE_BU): + u = "ex"; + break; case (SCALE_VS): - /* FALLTHROUGH */ - case (SCALE_EM): u = "em"; break; default: -- cgit v1.2.3-56-ge451