aboutsummaryrefslogtreecommitdiff
path: root/man/man7/font.7
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-08-13 23:41:59 -0400
committerRuss Cox <rsc@swtch.com>2020-08-13 23:43:43 -0400
commit977b25a76ae8263e53fb4eb1abfc395769f23e3d (patch)
treeb04cc1be9205fd85f588e9434642e8aed8a8a4fd /man/man7/font.7
parenta1c4307800c7f1ef9c5d71ba4c6c3642837e2877 (diff)
downloadplan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.gz
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.bz2
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.zip
tmac: introduce real manual reference macro instead of overloading IR
The overloading of IR emits magic \X'...' sequences that turn into HTML manual links. But not all such IR invocations should be manual links; those had to be written to avoid the IR macro before. Worse, the \X'...' ending the IR causes troff to emit only a single space after a period. Defining a new IM macro for manual references fixes both problems. Fixes #441.
Diffstat (limited to 'man/man7/font.7')
-rw-r--r--man/man7/font.722
1 files changed, 11 insertions, 11 deletions
diff --git a/man/man7/font.7 b/man/man7/font.7
index 45331d4d..a11ca53c 100644
--- a/man/man7/font.7
+++ b/man/man7/font.7
@@ -5,7 +5,7 @@ font, subfont \- external format for fonts and subfonts
.B #include <draw.h>
.SH DESCRIPTION
Fonts and subfonts are described in
-.IR cachechars (3).
+.IM cachechars (3) .
.PP
External bitmap fonts are described by a plain text file that can be read using
.IR openfont .
@@ -21,7 +21,7 @@ with an optional starting position within the subfont,
and the file name names an external file suitable for
.I readsubfont
(see
-.IR graphics (3)).
+.IM graphics (3) ).
The minimum number of a covered range is mapped to the specified starting position
(default zero) of the
corresponding subfont.
@@ -36,11 +36,11 @@ that can be read and written using
and
.I writesubfont
(see
-.IR subfont (3)).
+.IM subfont (3) ).
The format for subfont files is: an image containing character glyphs,
followed by a subfont header, followed by character information.
The image has the format for external image files described in
-.IR image (7).
+.IM image (7) .
The subfont header has 3
decimal strings:
.BR n ,
@@ -72,7 +72,7 @@ are irrelevant.
.PP
Note that the convention of using the character with value zero (NUL) to represent
characters of zero width (see
-.IR draw (3))
+.IM draw (3) )
means that fonts should have, as their zeroth character,
one with non-zero width.
.SS "Font Names
@@ -121,7 +121,7 @@ The command
.B .
lists the available fonts.
See
-.IR fontsrv (4)
+.IM fontsrv (4)
for more.
.PP
If the font name has the form
@@ -136,7 +136,7 @@ The Plan 9 bitmap fonts were designed for screens with pixel density around 100
When used on screens with pixel density above 200 DPI,
the bitmap fonts are automatically pixel doubled.
Similarly, fonts loaded from
-.IR fontsrv (4)
+.IM fontsrv (4)
are automatically doubled in size by varying the effective
.I size
path element.
@@ -184,7 +184,7 @@ a system-installed vector font on high-density displays:
.B \*9/font/*
font directories
.SH "SEE ALSO"
-.IR graphics (3),
-.IR draw (3),
-.IR cachechars (3),
-.IR subfont (3)
+.IM graphics (3) ,
+.IM draw (3) ,
+.IM cachechars (3) ,
+.IM subfont (3)