ttfascent - sets ascent and descent of a TrueType font
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.
-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.
Setting the ascent and descent values of a font is a fiddly business. This program sets the values in their default relationship.
Martin Hosken http://scripts.sil.org/FontUtils. (see CONTRIBUTORS for other authors).
Copyright (c) 1998-2014, 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.
To install Font::TTF::Scripts, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Font::TTF::Scripts
CPAN shell
perl -MCPAN -e shell install Font::TTF::Scripts
For more information on module installation, please visit the detailed CPAN module installation guide.