changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: truetypefs(4): document truetypefs

changeset 6811: b7e654b5ddbf
parent 6810: b3ab38199e58
child 6812: 3d828ce9c95b
author: mischief <mischief@offblast.org>
date: Fri, 12 Oct 2018 08:36:22 -0700
files: sys/man/4/truetypefs
description: truetypefs(4): document truetypefs
     1.1new file mode 100644
     1.2--- /dev/null
     1.3+++ b/sys/man/4/truetypefs
     1.4@@ -0,0 +1,50 @@
     1.5+.TH TRUETYPEFS 4
     1.6+.SH NAME
     1.7+truetypefs \- TrueType font file system
     1.8+.SH SYNOPSIS
     1.9+.B truetypefs
    1.10+[
    1.11+.B -F
    1.12+.I fontpath
    1.13+]
    1.14+.SH DESCRIPTION
    1.15+.I Truetypefs
    1.16+serves a read-only filesystem at
    1.17+.B /n/ttf
    1.18+that generates fonts and subfonts from TrueType fonts which can be
    1.19+used in the Plan 9 graphics system.
    1.20+
    1.21+By default, fonts are loaded from
    1.22+.BR /lib/font/ttf/ .
    1.23+The
    1.24+.B -F
    1.25+flag may be used to set the path TrueType fonts are loaded from.
    1.26+
    1.27+.I Truetypefs
    1.28+generates subfonts when they are accessed.
    1.29+Fonts are specified via a TrueType font file name followed by a font
    1.30+size.
    1.31+For example,
    1.32+.B /n/ttf/unifont.ttf.16/font
    1.33+is a
    1.34+.IR font (6)
    1.35+file generated for GNU Unifont at a size of 16.
    1.36+
    1.37+.SH EXAMPLES
    1.38+Use size 16 GNU Unifont for
    1.39+.IR acme (1):
    1.40+.IP
    1.41+.EX
    1.42+truetypefs
    1.43+font=/n/font/unifont.ttf.16/font
    1.44+acme -c 1 /lib/glass
    1.45+.EE
    1.46+.SH SOURCE
    1.47+.B /sys/src/cmd/truetypefs.c
    1.48+.SH SEE ALSO
    1.49+.IR ttf (2),
    1.50+.IR font(6),
    1.51+.IR subfont(2)
    1.52+.SH HISTORY
    1.53+.I Truetypefs
    1.54+first appeared in 9front (October, 2018).