diff options
author | Russ Cox <rsc@swtch.com> | 2020-08-13 23:41:59 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-08-13 23:43:43 -0400 |
commit | 977b25a76ae8263e53fb4eb1abfc395769f23e3d (patch) | |
tree | b04cc1be9205fd85f588e9434642e8aed8a8a4fd /man/man3/subfont.3 | |
parent | a1c4307800c7f1ef9c5d71ba4c6c3642837e2877 (diff) | |
download | plan9port-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/man3/subfont.3')
-rw-r--r-- | man/man3/subfont.3 | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/man/man3/subfont.3 b/man/man3/subfont.3 index 5e1b09ab..e321b7da 100644 --- a/man/man3/subfont.3 +++ b/man/man3/subfont.3 @@ -53,13 +53,13 @@ Font* mkfont(Subfont *f, Rune min) .SH DESCRIPTION Subfonts are the components of fonts that hold the character images. A font comprises an array of subfonts; see -.IR cachechars (3). +.IM cachechars (3) . A new .B Subfont is allocated and initialized with .IR allocsubfont . See -.IR cachechars (3) +.IM cachechars (3) for the meaning of .IR n , .IR height , @@ -81,7 +81,7 @@ The appropriate fields of the returned structure are set to the passed arguments, and the image is registered as a subfont with the graphics device -.IR draw (3). +.IM draw (3) . .I Allocsubfont returns 0 on failure. .PP @@ -97,7 +97,7 @@ on if .B f->info was not allocated by -.IR malloc (3) +.IM malloc (3) it should be zeroed before calling .IR subffree . .PP @@ -150,7 +150,7 @@ Although it is principally a routine internal to the library, may be substituted by the application to provide a less file-oriented subfont naming scheme. .PP The format of a subfont file is described in -.IR font (7). +.IM font (7) . Briefly, it contains a image with all the characters in it, followed by a subfont header, followed by character information. .I Readsubfont @@ -181,13 +181,13 @@ the part of a subfont file that comes after the image. It should be preceded by a call to .IR writeimage (see -.IR allocimage (3)). +.IM allocimage (3) ). .PP .I Stringsubfont is analogous to .B string (see -.IR draw (3)) +.IM draw (3) ) for subfonts. Rather than use the underlying font caching primitives, it calls .B draw @@ -224,12 +224,12 @@ bitmap font file tree .SH SOURCE .B \*9/src/libdraw .SH SEE ALSO -.IR graphics (3), -.IR allocimage (3), -.IR draw (3), -.IR cachechars (3), -.IR image (7), -.IR font (7) +.IM graphics (3) , +.IM allocimage (3) , +.IM draw (3) , +.IM cachechars (3) , +.IM image (7) , +.IM font (7) .SH DIAGNOSTICS All of the functions use the graphics error function (see -.IR graphics (3)). +.IM graphics (3) ). |