NAME¶
ttfautohint - add new auto-generated hints to a TrueType font
SYNOPSIS¶
ttfautohint [
OPTION]...
IN-FILE OUT-FILE
DESCRIPTION¶
Replace hints in TrueType font IN-FILE and write output to OUT-FILE. The new
hints are based on FreeType's autohinter.
This program is a simple front-end to the `ttfautohint' library.
Long options can be given with one or two dashes, and with and without equal
sign between option and argument. This means that the following forms are
acceptable: `-foo=bar', `--foo=bar', `-foo bar', `--foo bar'.
Mandatory arguments to long options are mandatory for short options too.
OPTIONS¶
- -f, --latin-fallback
- set fallback script to latin
- -G, --hinting-limit=N
- switch off hinting above this PPEM value (default: 200);
value 0 means no limit
- -h, --help
- display this help and exit
- -i, --ignore-restrictions
- override font license restrictions
- -l, --hinting-range-min=N
- the minimum PPEM value for hint sets (default: 8)
- -n --no-info
- don't add ttfautohint info to the version string(s) in the
`name' table
- -p, --pre-hinting
- apply original hints in advance
- -r, --hinting-range-max=N
- the maximum PPEM value for hint sets (default: 50)
- -s, --symbol
- input is symbol font
- -v, --verbose
- show progress information
- -V, --version
- print version information and exit
- -x, --increase-x-height=N
- increase x height for sizes in the range 6<=PPEM<=N;
value 0 switches off this feature (default: 14)
- -X,
--x-height-snapping-exceptions=STRING
- specify a comma-separated list of x-height snapping
exceptions
The program accepts both TTF and TTC files as input. Use option
-i only
if you have a legal permission to modify the font. If option
-f is not
set, glyphs not in the latin range stay unhinted. The used PPEM value for
option
-p is FUnits per em, normally 2048. With option
-s, use
default values for standard stem width and height, otherwise they are derived
from latin character `o'.
A hint set contains the optimal hinting for a certain PPEM value; the larger the
hint set range, the more hint sets get computed, usually increasing the output
font size. Note, however, that the `gasp' table of the output file enables
grayscale hinting for all sizes (limited by option
-G which is handled
in the bytecode).
A GUI version of this program is called `ttfautohintGUI'.
REPORTING BUGS¶
Report bugs to: freetype-devel@nongnu.org ttfautohint home page:
<
http://www.freetype.org/ttfautohint>
COPYRIGHT¶
Copyright © 2011-2012 Werner Lemberg <wl@gnu.org>. License: FreeType
License (FTL) or GNU GPLv2.
This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.