LinuxCommandLibrary

t1disasm

Disassemble Type 1 font files

SYNOPSIS

t1disasm [options] fontfile

PARAMETERS

fontfile
    The Type 1 font file (PFA or PFB) to disassemble. This is a mandatory argument.

-a
    Disassemble all font programs

DESCRIPTION

The t1disasm command disassembles Type 1 font files. It reads a Type 1 font file (either in PFA or PFB format) and outputs a human-readable representation of its contents. This disassembled output can then be inspected to understand the structure and properties of the font, including its character definitions, hinting information, and other PostScript language instructions.

The output is designed to be mostly readable, showing the different dictionaries with their contents. This allows users to examine the font's internal workings and debug potential issues. It's a valuable tool for font developers, researchers, and anyone interested in the low-level details of Type 1 font technology.

The utility is part of the t1utils package, which provides various command-line tools for working with Type 1 fonts.

OUTPUT FORMAT

The output of t1disasm is a plain text representation of the font file, organized into dictionaries and other data structures. It is important to note that the disassembled output is not directly editable and re-assemblable into a working font file using standard tools. While tools exist (like `t1asm`) for assembling font source code, the output of `t1disasm` is mainly for inspection and analysis.

HISTORY

The t1disasm command is part of the t1utils package, developed to provide tools for manipulating and inspecting Type 1 fonts. These tools were created to address the need for utilities to inspect and debug Type 1 font files, which are a relatively complex format. The tools were especially useful prior to the widespread adoption of OpenType fonts.

SEE ALSO

t1asm(1), t1lint(1), t1unmac(1)

Copied to clipboard