summaryrefslogtreecommitdiffstats
path: root/share/man/man7
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-08-13 22:09:28 +0000
committerschwarze <schwarze@openbsd.org>2014-08-13 22:09:28 +0000
commitd5dc6f2e4a3a2261f841bcff34916d7d467f2c67 (patch)
treed3442cba24a9a5e86990008e26781992c1f10eaa /share/man/man7
parentAdd /usr/X11R6/share/X11/app-defaults (diff)
downloadwireguard-openbsd-d5dc6f2e4a3a2261f841bcff34916d7d467f2c67.tar.xz
wireguard-openbsd-d5dc6f2e4a3a2261f841bcff34916d7d467f2c67.zip
Begin cleanup of scaling units.
Note that we use 240u := 1i for all devices, even -Tps and -Tpdf. Big fix of -Tascii rendering of f, m, and u. Small fix of -Tascii rendering of c. Big fix of -Thtml rendering of u. Big fix of -Tps rendering of m, p, and u. Clarify -Tps rendering of c. Correct documentation of scaling units, in particular with respect to u. This for example improves rendering of the OpenGL manuals. Joint work with kristaps@.
Diffstat (limited to 'share/man/man7')
-rw-r--r--share/man/man7/roff.716
1 files changed, 11 insertions, 5 deletions
diff --git a/share/man/man7/roff.7 b/share/man/man7/roff.7
index ef2c03ae4bf..299d67fce7b 100644
--- a/share/man/man7/roff.7
+++ b/share/man/man7/roff.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: roff.7,v 1.34 2014/07/07 11:34:41 schwarze Exp $
+.\" $OpenBSD: roff.7,v 1.35 2014/08/13 22:09:28 schwarze Exp $
.\"
.\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010, 2011, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 7 2014 $
+.Dd $Mdocdate: August 13 2014 $
.Dt ROFF 7
.Os
.Sh NAME
@@ -237,8 +237,9 @@ pica (~1/6 inch)
.It p
point (~1/72 inch)
.It f
-synonym for
+scale
.Sq u
+by 65536
.It v
default vertical span
.It m
@@ -252,7 +253,7 @@ width of rendered
.Pq en
character
.It u
-default horizontal span
+default horizontal span for the terminal
.It M
mini-em (~1/100 em)
.El
@@ -260,7 +261,6 @@ mini-em (~1/100 em)
Using anything other than
.Sq m ,
.Sq n ,
-.Sq u ,
or
.Sq v
is necessarily non-portable across output media.
@@ -1346,6 +1346,12 @@ refers to groff version 1.15.
.Pp
.Bl -dash -compact
.It
+The
+.Sq u
+scaling unit is the default terminal unit.
+In traditional troff systems, this unit would change depending on the
+output media.
+.It
In mandoc, the
.Sx \&EQ ,
.Sx \&TE ,