NAME

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.

AUTHOR

Martin Hosken http://scripts.sil.org/FontUtils. (see CONTRIBUTORS for other authors).

LICENSING

Copyright (c) 1998-2016, SIL International (http://www.sil.org)

This script is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.