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.
To install Font::Fret, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Font::Fret
CPAN shell
perl -MCPAN -e shell install Font::Fret
For more information on module installation, please visit the detailed CPAN module installation guide.