Fontsrv presents the host window systems fonts
in the standard Plan 9 format
It serves a virtual directory tree mounted at
mtpt (if the
-m option is given)
and posted at
-p option changes
fontsrvs behavior: rather than serve a file system,
fontsrv prints to standard output the contents of the named
path names a directory in the served file system,
fontsrv lists the directorys contents.
The fonts are arranged in a two-level tree.
The root contains directories named for each system font.
Each font directory contains subdirectories named for
a point size and whether the subfonts are anti-aliased:
10a (anti-aliased greyscale)
12a, and so on.
The font directory will synthesize additional sizes on
demand: looking up
19a will synthesize the 19-point anti-aliased size
Each size directory contains a
font file and subfont files
x0100.bit, and so on
representing 256-character Unicode ranges.
recognizes font paths beginning with
/mnt/font and implements them by invoking
fontsrv; it need not be running already.
Due to OS X restrictions,
fontsrv does not fork itself into the background
when serving a user-level file system.
Fontsrv has no support for X11 fonts;
on X11 systems, it will serve an empty top-level directory.
On OS X, the anti-aliased bitmaps are not perfect.
For example, the lower case r in the subfont
Times-Roman/14a/x0000.bit appears truncated on the right and
too light overall.