---
name: "mkttfdir"
section: "1"
platform: "linux"
package: "fttools"
version: "1.2-16"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/mkttfdir"
---

# mkttfdir(1)

create an index of TrueType font files for X-TrueType server in a directory.

## NAME

mkttfdir - create an index of TrueType font files for X-TrueType server in a directory.

## SYNOPSIS

**mkttfdir \[-dheow\] \[-inum\] \[directory-name ... \]**

## DESCRIPTION

For each directory argument, *mkttfdir* reads all of the TrueType font files in the directory and parses them. It then creates suitable font names and writes them into "fonts.dir" in the same directory.  The X-TrueType server (xfs-tt) and any X server which suports the X-TrueType ability use "fonts.dir" to find TrueType font files. *mkttfdir* does not create a "fonts.scale" file as this is not used by the X-TrueType (xtt) extension.  The "fonts.dir" created by *mkttfdir* may not be compatible with the xfsft font server do to the inclusion of data for the TTCap extension, which xfsft does not know how to parse.

## OPTIONS

- \-h

  Display usage.

- \-d

  Dump created information on screen instead of "fonts.dir" file.

- \-e

  Force to create ISO8859-1 font entry without checking.

- \-j

  Force to create JISX 0208 and JISX 0201 font entries without checking.

- \-o

  Force the creation of an opaque font entry for every font.

- \-i*number*

  Use this number as an auto-italic field if you choose -o option.

- \-w

  Use this to list any files for which mkfont will not create an entry in "fonts.dir"

## FILES

fonts.dir - List of fonts in the directory and the files they are stored in.

## SEE ALSO

**XFree86**(1), **xfsft(1)**

## COPYRIGHT

Copyright (c) 1998  Kazushi (Jam) Marukawa\
 Comments to: jam@pobox.com
