aboutsummaryrefslogtreecommitdiff
path: root/man/man3/subfont.3
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-11 03:42:27 +0000
committerrsc <devnull@localhost>2004-04-11 03:42:27 +0000
commitbf8a59fa013f5c705369fbe14e23ca78c4d09cb8 (patch)
tree2f8a9e329e05288a17fa7e4024199b0af2327b3d /man/man3/subfont.3
parentcfa37a7b1131abbab2e7d339b451f5f0e3198cc8 (diff)
downloadplan9port-bf8a59fa013f5c705369fbe14e23ca78c4d09cb8.tar.gz
plan9port-bf8a59fa013f5c705369fbe14e23ca78c4d09cb8.tar.bz2
plan9port-bf8a59fa013f5c705369fbe14e23ca78c4d09cb8.zip
Rewrite page(2) references to page(3).
Add description of new libmach.
Diffstat (limited to 'man/man3/subfont.3')
-rw-r--r--man/man3/subfont.320
1 files changed, 10 insertions, 10 deletions
diff --git a/man/man3/subfont.3 b/man/man3/subfont.3
index 3802333b..8a42c252 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 (2).
+.IR cachechars (3).
A new
.B Subfont
is allocated and initialized with
.IR allocsubfont .
See
-.IR cachechars (2)
+.IR cachechars (3)
for the meaning of
.IR n ,
.IR height ,
@@ -97,7 +97,7 @@ on
if
.B f->info
was not allocated by
-.IR malloc (2)
+.IR malloc (3)
it should be zeroed before calling
.IR subffree .
.PP
@@ -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 (2)).
+.IR allocimage (3)).
.PP
.I Stringsubfont
is analogous to
.B string
(see
-.IR draw (2))
+.IR 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 /sys/src/libdraw
.SH SEE ALSO
-.IR graphics (2),
-.IR allocimage (2),
-.IR draw (2),
-.IR cachechars (2),
+.IR graphics (3),
+.IR allocimage (3),
+.IR draw (3),
+.IR cachechars (3),
.IR image (6),
.IR font (6)
.SH DIAGNOSTICS
All of the functions use the graphics error function (see
-.IR graphics (2)).
+.IR graphics (3)).