diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-07 14:39:00 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-07 14:39:00 +0000 |
commit | 64e701f6c5f80420220bf0e2237124d23f0080f9 (patch) | |
tree | 4a1b1954bf46ba9421ac3779d9fd6064bd78d4c4 /html.c | |
parent | c5cc5b497aa0c24179d438ed599588024e731d31 (diff) | |
download | mandoc-64e701f6c5f80420220bf0e2237124d23f0080f9.tar.gz |
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.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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: |