From 36bf94232a5cacc4ff8dd748691cee8af98319d0 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 12 Aug 2014 19:28:16 +0000 Subject: In mdoc(7) and man(7), if a width is given as a bare number without specifying a unit, the implied unit is 'n' (on the terminal, one character position; in PostScript, half of the current font size in points), not 'u' (roff output device basic unit). No functional change right now, but important for the upcoming scaling unit fixes. --- out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'out.c') diff --git a/out.c b/out.c index ad2e8320..783a04c5 100644 --- a/out.c +++ b/out.c @@ -1,4 +1,4 @@ -/* $Id: out.c,v 1.50 2014/08/10 23:54:41 schwarze Exp $ */ +/* $Id: out.c,v 1.51 2014/08/12 19:28:16 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011 Ingo Schwarze @@ -110,7 +110,7 @@ a2roffsu(const char *src, struct roffsu *dst, enum roffscale def) case '\0': if (SCALE_MAX == def) return(0); - unit = SCALE_BU; + unit = SCALE_EN; break; case 'u': unit = SCALE_BU; -- cgit v1.2.3-56-ge451