TITLE

ttfascent - sets ascent and descent of a TrueType font

SYNOPSIS

ttfascent [-a num] [-d num] [-l num] infile [outfile]

Opens infile (a .ttf file) changes the ascent and descent values in the Hhea and OS/2 table and then writes the resulting file to outfile if specified.

OPTIONS

-a num    Sets the ascent value to this number of em units
-d num    Sets the descent value to this number of em units. This value is
          usually positive.
-l num    Sets the typographical line gap in the OS/2 table.

DESCRIPTION

Setting the ascent and descent values of a font is a fiddly business. This program sets the values in their default relationship.