fontimport(1) teTeX fontimport(1)NAME
fontimport - import fonts into the teTeX directory structure
SYNOPSIS
fontimport [-d] [-f] [-t] [-m MF-mode] path ...
DESCRIPTION
fontimport imports TFM and PK font files into appropriate places in the teTeX directory tree and revises teTeX's filename database accord-
ingly.
Each path may be a font file or a directory, either absolute or relative to the current directory. All subdirectories of a given directory
are searched for font files. Don't specify directory names that are symbolic links, however, since (at least some versions of) find(1)
won't dereference them.
A font's destination is determined by variables in the file texmf.cnf. By default, fontimport will issue a warning to stderr instead of
overwriting an existing font file. The -f flag forces overwriting.
fontimport can cope with font names conforming the 8.3-namescheme, too, so you can import fonts from either a TDS-compliant or MSDOS
installation. emTeX's font libraries are not supported. If you want to import fonts from a font library, you need to unpack it with emTeX's
fontlib utility first.
The full pathname of each font successfully imported is echoed to stdout. When fontimport can not parse a font's name, it will import the
font using a path element of "/unknown/" and issue a warning on stderr.
fontimport tries to guess the mode of PK files. With the -m flag you may specify a fallback mode to be used if the mode can't be guessed.
Options:
-m MF-MODE
default Metafont mode for PK files if autodetection fails
-d delete
delete font files after copying (i.e., move them)
-f force
overwrite existing fonts
-t test
just echo each font's destination (if any); don't move or copy
SEE ALSO allec(1), allneeded(1), fontexport(1), Fontname: Filenames for TeX Fonts (http://tug.org/fontname).
AUTHOR
Thomas Esser (te@informatik.uni-hannover.de)
teTeX 4/99 fontimport(1)
Check Out this Related Man Page
mkfontdir(1X)mkfontdir(1X)NAME
mkfontdir, fonts.dir, fonts.scale, fonts.alias - create an index of X font files in a directory
SYNOPSIS
mkfontdir [directory-name...]
DESCRIPTION
For each directory argument, mkfontdir reads all of the font files in the directory searching for properties named "FONT", or (failing
that) the name of the file stripped of its suffix. These are converted to lower case and used as font names, and, along with the name of
the font file, are written out to the file "fonts.dir" in the directory. The X server and font server use "fonts.dir" to find font files.
The kinds of font files read by mkfontdir depend on configuration parameters, but typically include PCF (suffix ".pcf"), SNF (suffix
".snf") and BDF (suffix ".bdf"). If a font exists in multiple formats, mkfontdir will first choose PCF, then SNF and finally BDF.
The first line of fonts.dir gives the number of fonts in the file. The remaining lines list the fonts themselves, one per line, in two
fields. First is the name of the font file, followed by a space and the name of the font.
SCALABLE FONTS
Because scalable font files do not usually include the X font name, the file "fonts.scale" can be used to name the scalable fonts in the
directory. The fonts listed in it are copied to fonts.dir by mkfontdir. "fonts.scale" has the same format as the "fonts.dir" file.
FONT NAME ALIASES
The file "fonts.alias", which can be put in any directory of the font-path, is used to map new names to existing fonts, and should be
edited by hand. The format is two white-space separated columns, the first containing aliases and the second containing font-name pat-
terns. Lines beginning with "!" are comment lines and are ignored.
If neither the alias nor the value specifies the size fields of the font name, this is a scalable alias. A font name of any size that
matches this alias will be mapped to the same size of the font that the alias resolves to.
When a font alias is used, the name it references is searched for in the normal manner, looking through each font directory in turn. This
means that the aliases need not mention fonts in the same directory as the alias file.
To embed white space in either name, simply enclose it in double-quote marks; to embed double-quote marks (or any other character), precede
them with back-slash:
"magic-alias with spaces" regular-alias fixed
If the string "FILE_NAMES_ALIASES" stands alone on a line, each file-name in the directory (stripped of its suffix) will be used as an
alias for that font.
FILES
List of fonts in the directory and the files they are stored in. Created by mkfontdir. Read by the X server and font server each time the
font path is set (see xset(1X)). List of scalable fonts in the directory. Contents are copied to fonts.dir by mkfontdir. List of font
name aliases. Read by the X server and font server each time the font path is set (see xset(1X)).
SEE ALSO X(1X), Xdec(1X), xfs(1X), xset(1X)mkfontdir(1X)