How To Install t1lib on CentOS 7

In this tutorial we learn how to install t1lib on CentOS 7. t1lib is PostScript Type 1 font rasterizer

Introduction

In this tutorial we learn how to install t1lib on CentOS 7.

What is t1lib

T1lib is a rasterizer library for Adobe Type 1 Fonts. It supports rotation and transformation, kerning underlining and antialiasing. It does not depend on X11, but does provides some special functions for X11. AFM-files can be generated from Type 1 font files and font subsetting is possible. T1lib is a rasterizer library for Adobe Type 1 Fonts. It supports rotation and transformation, kerning underlining and antialiasing. It does not depend on X11, but does provides some special functions for X11. AFM-files can be generated from Type 1 font files and font subsetting is possible.

We can use yum or dnf to install t1lib on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install t1lib.

Install t1lib on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install t1lib using yum by running the following command:

sudo yum -y install t1lib

Install t1lib on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install t1lib using dnf by running the following command:

sudo dnf -y install t1lib

How To Uninstall t1lib on CentOS 7

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

sudo dnf remove t1lib

References

Summary

In this tutorial we learn how to install t1lib on CentOS 7 using yum and dnf.