.TH ftfs 4
.SH NAME
.PP
ftfs \- FreeType file system
.SH SYNOPSIS
.PP
.B ftfs
fontdir [fontdir...]
.SH DESCRIPTION
.PP
.I ftfs
mounts itself at
.I mtpt
(default
.BR /lib/font/ftfs )
and presents a two-level file tree containing fonts and subfonts
converted on-the-fly from TrueType fonts located in fontdir.
.I Ftfs
uses FreeType to convert the TrueType fonts into Plan 9
.IR font (6)
format files. The first level of the file tree contains one directory
for each TrueType font located in
.IR fontdir .
In each of those directories,
.I ftfs
presents a series of font and subfont files to service read requests
made agains the tree. Multiple
.I fontdir
arguments are searched in order.
.SH EXAMPLE
Under 9vx or
.IR drawterm (8)
on a Mac, run the following from the users lib/profile or
.IR termrc (8):
.EX
ftfs /n/local/Library/Fonts /n/local/System/Library/Fonts
.EE
to get access to the underlying system's fonts from Plan 9. Then set
.EX
font=/lib/font/ftfs/Helvetica.dfont/9.font
.EE
before running
.BR rio (1)
to use the system's version of Helvetica in rio.
.SH SEE ALSO
.IR font (6) ,
.IF subfont(2).
.SH BUGS
.PP
Fictional.
.PP
The FreeType conversions ought to be saved between runs; they're not.
|