TTFNAME(1) User Contributed Perl Documentation TTFNAME(1)

# [NAME](#NAME)

ttfname - renames font files

# [SYNOPSIS](#SYNOPSIS)

```
  ttfname [-n "name" | -s filename] [-t num] options infile.ttf outfile.ttf
  ttfname -f "full_name"  options infile.ttf outfile.ttf
```

Renames the TTF with the given name and outputs the newly named font to out.ttf.

# [OPTIONS](#OPTIONS)

```
  -n "name"   specifies new font family name.
  -f "name"   specifies new full name.
  -s filename overrides -n and gets string from file. Useful for -t
  -l lang     language number to use (default all langs)
              if specified name entries will be added for all platforms and
                  encodings covered by the cmap if not already there
  -p          Don't update postscript font name
  -r nums     Removes all strings of the given ids. Space- or comma-separated
              ids or id ranges (denoted by "..") may be specified.
  -t num      overrides the normal naming areas to change another
              string -f becomes inactive. Use -l as well to create entry.
  -w "name"   overrides subfamily in the font (think weight). So a full name
              may be made from -n and -w together.
```

# [AUTHOR](#AUTHOR)

Martin Hosken &lt;http://scripts.sil.org/FontUtils&gt;. (see CONTRIBUTORS for other authors).

# [LICENSING](#LICENSING)

Copyright (c) 1998-2016, SIL International (http://www.sil.org)

This script is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.

2026-10-03 perl v5.44.0

---

Document: ttfname(1) from perl-font-ttf-scripts 1.06-r0 (Chainguard OS)
