font, subfont − external format for fonts and subfonts

#include <libc.h>
#include <libg.h>

Fonts and subfonts are described in

     External fonts are described by a plain text file that can be read using
rdfontfile.  The format of the file is a header followed by any number of
subfont range specifications.  The header contains two numbers: the height and
the ascent.  The height is the inter‐line spacing and the ascent is the distance
from the top of the line to the baseline.  These numbers are chosen to display
consistently all the subfonts of the font.  A subfont range specification
contains two numbers and a font name.  The numbers are the inclusive range of
characters covered by the subfont, and name specifies the name of an X font
suitable for The minimum number of a covered range is mapped to the first
defined character of the corresponding subfont.  Each field must be followed by
some white space.  Each numeric field may be C‐format decimal, octal, or

     Subfonts may be loaded using see