TITLE
ttfenc - Create TeX font metrics for a font
SYNOPSIS
ttfenc [-e enc_file] [-m mapping_file] [-p map_file] [-t tfm_file]
[-x] [-d tex_file] [-o font_file] font.ttf
ttfenc -@config_file font.ttf
OPTIONS
-d tex_file Make TeX definitions for glue in this file
-e enc_file Filename of encoding file (including where to store it)
-m mapping_file Unicode mapping description file (e.g. cp1252.txt)
-o font_file Output a font with fixed names
-p map_file The PDFTeX .map file in which to add an entry for this
font [OPTIONAL - absent, no entry added]
-t tfm_file The name and where to store the .tfm file
-x Enable TeX postscript name correction
-z flags bitfield of flags
0 - produce tex_file for codes 32-255, default 128-255
1 - ignore a-z & 0-9 when making tex_file
-@config_file Specifies a file to read command line parameters from
DESCRIPTION
Creates a Postscript mapping file for the given font according to the 8-bit to Unicode mapping given in mapping_file. If the font is a Windows symbol font then no mapping_file is required. If no tfm file is requested, then no map_file entry is made, either. Requires ttf2afm and afm2tfm to run.
EXAMPLE USAGE
ttfenc -e ipa93.enc -m cp1252.txt ipa93sr.ttf
Just creates ipa93.enc from the POST table of ipa93sr.ttf
ttfenc -e %texmf%\pdftex\base\ipa93.enc -m cp1252.txt -p %texmf%\pdftex\bas
e\ttfmap.map -t %texmf%\fonts\tfm\ttf\ipa93sr.tfm ipa93sr.ttf
Create .tfm, .afm, .enc and install the files in the appropriate places. (The .afm is left with ipa93sr.log in the current directory)