How To Install lcdf-typetools on Debian 12

Learn how to install lcdf-typetools on Debian 12 with this tutorial. lcdf-typetools is tools for OpenType, multiple-master, and Type 1 fonts

Introduction

In this tutorial we learn how to install lcdf-typetools on Debian 12.

What is lcdf-typetools

lcdf-typetools is:

LCDF Typetools comprises several programs for manipulating PostScript Type 1, Type 1 multiple master, and OpenType fonts.

Programs to manipulate OpenType, multiple-master, and Type 1 fonts:

  • cfftot1 allows you to translate Compact Font Format (CFF) or PostScript-flavored OpenType fonts into PostScript Type 1 font format.
  • otfinfo reports information about OpenType fonts, such as the features they support. and the contents of their “size” optical size option
  • otftotfm allows you to create TeX font metrics and encodings for using PostScript-flavored OpenType fonts. NB! This tool requires the additional package texlive-binaries.
  • t1dotlessj creates a Type 1 font with a single character – the dotless j corresponding to the specified design.
  • t1lint checks a Type 1 font for correctness (preliminary).
  • t1rawafm generates a “raw” (kernless and ligatureless) AFM file given a font file (PFB/PFA).
  • t1reencode changes a PostScript Type 1 font embedded encoding.
  • t1testpage creates a PostScript test page for a specified font file (preliminary).
  • ttftotype42 converts TrueType or TrueType-flavored OpenType font programs into PostScript Type 42 format.

LCDF-TypeTools also includes the multiple-master font tools allowing you to use multiple-master fonts with programs that require single-master fonts (afm2tfm, ps2pk, fontinst, etc.). Both programs work fine with fonts that contain intermediate masters (e.g., Adobe Jenson MM and Adobe Kepler MM).

  • mmafm creates an AFM (Adobe font metric) file corresponding to a single instance of a multiple-master font. It reads (and therefore requires) the AMFM and AFM files distributed with the font.
  • mmpfb creates a normal, single-master font program that looks like an instance of a multiple-master font. It reads the multiple-master font program in PFA or PFB format.

LCDF stands for Little Cambridgeport Design Factory.

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

Install lcdf-typetools Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install lcdf-typetools

Install lcdf-typetools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lcdf-typetools

Install lcdf-typetools 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 lcdf-typetools using aptitude by running the following command:

sudo aptitude -y install lcdf-typetools

How To Uninstall lcdf-typetools on Debian 12

To uninstall only the lcdf-typetools package we can use the following command:

sudo apt-get remove lcdf-typetools

Uninstall lcdf-typetools And Its Dependencies

To uninstall lcdf-typetools and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove lcdf-typetools

Remove lcdf-typetools Configurations and Data

To remove lcdf-typetools configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge lcdf-typetools

Remove lcdf-typetools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lcdf-typetools

Dependencies

lcdf-typetools have the following dependencies:

References

Summary

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