# Handling Missing Fonts

If the missing fonts do not exist in your hard disk, the best way is to create the fonts by METAFONT (cf. Automatic Font Generation). However, dviout can work without the missing fonts. Typical methods for handling missing fonts are described below.
1. Replacing missing characters with blanks.
In the following example, a correct sized blank will be replaced for missing fonts when the font specified by -dpi: (default, 300 dpi) or the Font Metric File exists. If these do not exist, the size of substitution would not be correct.
-F:.!=.;.t=.;cmr10.!
-FB:blank
In addition, you should specify the directory of font metric files by -TEXFONTS:.
Note: When "-FB: black box" is set, the missing characters are replaced by black boxes.
Note: In the above, ! denotes the resolution specified by -dpi:. You can explicitly specify the resolution, also.
2. Replacing with a font which resembles closely with the missing one.
In the following example, the missing fonts are replaced by magnifying or reducing the font size, if a font with the resolution specified by -dpi: exists. If the font does not exist, a cmr10 font with the same resolution as the searched one is substituted. If that font does not exist either, the cmr10 font with the resolution specified
by -dpi: is scaled and used.
-F:.!=.;cmr10.=.;cmr10.!
-FB:adjust size
3. Specify how to handle individiualy for each font.
See the -F: and -FB: items ([Font]).