summaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c13
1 files changed, 10 insertions, 3 deletions
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 <kristaps@kth.se>
*
@@ -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: