t1binary command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
t1binary: command not found
or when using sudo you get the following error message
sudo: t1binary: command not found
Solutions to t1binary: command not found
How To Fix t1binary: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu t1binary is provided by t1utils package.
t1utils is:
The t1utils tools allow you to convert between PFA (ASCII) and PFB (binary) formats; disassemble PFA or PFB files into human-readable form; and reassemble the human-readable files into PFA or PFB format files. You can also extract font resources from a Macintosh font file (ATM/Laserwriter), or create a Macintosh Type 1 font file from a PFA or PFB font.
There are currently six programs:
t1ascii Converts PFB files to PFA format.
t1binary Converts PFA files to PFB format.
t1disasm Disassembles a Type 1 font (PFA or PFB format) into a raw, human-readable text form for subsequent hand editing, tweaking, hint fixing, etcetera…
t1asm Assembles a Type 1 font into PFA or PFB format from the human-readable form produced by t1disasm.
t1unmac Extracts POST resources from a Macintosh Type 1 font file (ATM/Laserwriter) into PFA or PFB format for use outside the Macintosh environment. The Macintosh file should be stored in MacBinary, AppleSingle, AppleDouble, or BinHex format, or as a raw resource fork. Note that t1unmac does not have to run on a Macintosh, but makes Macintosh Type 1 fonts available for use on Unix machines and PCs.
t1mac Creates a Macintosh Type 1 file from a PFA- or PFB-format Type 1 font. Writes the Macintosh file in MacBinary, AppleSingle, AppleDouble, or BinHex format, or as a raw resource fork. WARNING: This tool will not suffice to allow you to use the new font on a Macintosh, as Macintoshes cannot read raw Type 1 fonts. You will need to create a font suitcase containing bitmap fonts. If you do not already have such a suitcase for the font, T1utils will not help you create one.
To fix this problem, we can install more using the command below.
sudo apt-get -y install t1utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install t1utils.
sudo apt -y install t1utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install t1utils
Summary
In this tutorial we learn how to fix t1binary command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.