t1lint command not found

In this troubleshooting guide we learn how to fix t1lint command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

t1lint: command not found

or when using sudo you get the following error message

sudo: t1lint: command not found

Solutions to t1lint: command not found

How To Fix t1lint: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu t1lint is provided by lcdf-typetools package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install lcdf-typetools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install lcdf-typetools.

sudo apt -y install lcdf-typetools

Or if you have aptitude installed you can use the following command.

sudo aptitude install lcdf-typetools

Summary

In this tutorial we learn how to fix t1lint command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.