aboutsummaryrefslogtreecommitdiff
path: root/man/man3/subfont.3
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
commit94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14 (patch)
treead1ad80ee9a4e0ae97451c94a7cf455d3068951b /man/man3/subfont.3
parent7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2 (diff)
parent2991442aef1cf020ffde43673433ee97ef322a53 (diff)
downloadplan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.gz
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.bz2
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'man/man3/subfont.3')
-rw-r--r--man/man3/subfont.328
1 files changed, 14 insertions, 14 deletions
diff --git a/man/man3/subfont.3 b/man/man3/subfont.3
index 5e1b09ab..1de30246 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).
+.MR cachechars (3) .
A new
.B Subfont
is allocated and initialized with
.IR allocsubfont .
See
-.IR cachechars (3)
+.MR 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).
+.MR 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)
+.MR 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).
+.MR 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)).
+.MR allocimage (3) ).
.PP
.I Stringsubfont
is analogous to
.B string
(see
-.IR draw (3))
+.MR 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)
+.MR graphics (3) ,
+.MR allocimage (3) ,
+.MR draw (3) ,
+.MR cachechars (3) ,
+.MR image (7) ,
+.MR font (7)
.SH DIAGNOSTICS
All of the functions use the graphics error function (see
-.IR graphics (3)).
+.MR graphics (3) ).