How To Install t1utils on Debian 11

In this tutorial we learn how to install t1utils on Debian 11. t1utils is Collection of simple Type 1 font manipulation programs

Introduction

In this tutorial we learn how to install t1utils on Debian 11.

What is t1utils

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.

There are three methods to install t1utils on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install t1utils Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install t1utils using apt-get by running the following command:

sudo apt-get -y install t1utils

Install t1utils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install t1utils using apt by running the following command:

sudo apt -y install t1utils

Install t1utils Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install t1utils using aptitude by running the following command:

sudo aptitude -y install t1utils

How To Uninstall t1utils on Debian 11

To uninstall only the t1utils package we can use the following command:

sudo apt-get remove t1utils

Uninstall t1utils And Its Dependencies

To uninstall t1utils and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove t1utils

Remove t1utils Configurations and Data

To remove t1utils configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge t1utils

Remove t1utils configuration, data, and all of its dependencies

We can use the following command to remove t1utils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge t1utils

Dependencies

t1utils have the following dependencies:

References

Summary

In this tutorial we learn how to install t1utils package on Debian 11 using different package management tools: apt, apt-get and aptitude.