OS Manuals

/usr/bin/ttfremap

SIL's TrueType font support scripts for Perl (Font::TTF::Scripts)

From perl-font-ttf-scripts 1.06-r0 (os), captured 2026-11-05 by running ttfremap --help (exit 25). permalink

/usr/bin/ttfremap version [unknown] calling Getopt::Std::getopts (version 1.15 [paranoid]),
running under Perl version 5.44.0.

Usage: ttfremap [-OPTIONS [-MORE_OPTIONS]] [--] [PROGRAM_ARG1 ...]

The following single-character options are accepted:
	With arguments: -c
	Boolean (without arguments): -p -r -s -u

Options may be merged together.  -- stops processing of options.
Space is not required between options and their arguments.

For more details run
    perldoc -F /usr/bin/ttfremap
  [Now continuing due to backward compatibility and excessive paranoia.
   See 'perldoc Getopt::Std' about $Getopt::Std::STANDARD_HELP_VERSION.]
    TTFRemap -c file [-r] [-s | -u] <infile> <outfile>
Remaps the MS cmap of a font without removing any glyphs. Updates the OS/2
table according to first and last char of new cmap. The changes file consists
of lines of any of the following forms:

    uni_first, [uni_last,] uni_to
    g, gid_first, [gid_last,] uni_to
    n, name_first, [name_last,] uni_to
    d, uni_first[, uni_last]

where uni_first (gid_first) is the first of a range of Unicodes (glyph IDs)
in the source font, uni_last (gid_last) is the last of that range (if not
specified, default is same as uni_first (gid_last)), and uni_to
is the start of the sequential set of Unicodes that will be altered in the
output cmap so they map to the specified range. NOTE: Unicode values
should be in hex, glyph IDs are decimal. An initial d, deletes the range
from the output map (useful for -r).

    -p      Rename postscript names for shifted glyphs
    -r      Replace (copy the old cmap before mapping)
    -s      Convert to symbol encoding
    -u      Convert to UGL encoding
Options (4)
OptionDescriptionSource
-pRename postscript names for shifted glyphshelp
-rReplace (copy the old cmap before mapping)help
-sConvert to symbol encodinghelp
-uConvert to UGL encodinghelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.