How To Install ttfautohint on Fedora 34

ttfautohint is Automated hinting utility for TrueType fonts

Introduction

In this tutorial we learn how to install ttfautohint on Fedora 34.

What is ttfautohint

This is a utility which takes a TrueType font as the input, removes its bytecode instructions (if any), and returns a new font where all glyphs are bytecode hinted using the information given by FreeType’s autohinting module. The idea is to provide the excellent quality of the autohinter on platforms which don’t use FreeType.

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

Install ttfautohint on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install ttfautohint

Install ttfautohint on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install ttfautohint

How To Uninstall ttfautohint on Fedora 34

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

sudo dnf remove ttfautohint

ttfautohint Package Contents on Fedora 34

/usr/bin/ttfautohint
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/c061a597414ec81fa3b268bfa9a13905edb9ce
/usr/share/doc/ttfautohint
/usr/share/doc/ttfautohint/AUTHORS
/usr/share/doc/ttfautohint/FTL.TXT
/usr/share/doc/ttfautohint/GPLv2.TXT
/usr/share/doc/ttfautohint/NEWS
/usr/share/doc/ttfautohint/README
/usr/share/doc/ttfautohint/THANKS
/usr/share/doc/ttfautohint/TODO
/usr/share/doc/ttfautohint/img
/usr/share/doc/ttfautohint/img/Halant-Regular-O-Q-unhinted-12px.png
/usr/share/doc/ttfautohint/img/Halant-Regular-O-Q.png
/usr/share/doc/ttfautohint/img/Halant-Regular-O-good-Q-badly-hinted-12px.png
/usr/share/doc/ttfautohint/img/Halant-Regular-O-good-Q-better-hinted-12px.png
/usr/share/doc/ttfautohint/img/Halant-Regular-O-good-Q-well-hinted-12px.png
/usr/share/doc/ttfautohint/img/Merriweather-Black-g-21px-comparison.png
/usr/share/doc/ttfautohint/img/a-after-autohinting.png
/usr/share/doc/ttfautohint/img/a-after-hinting.png
/usr/share/doc/ttfautohint/img/a-before-hinting.png
/usr/share/doc/ttfautohint/img/afii10108-11px-after-hinting.png
/usr/share/doc/ttfautohint/img/afii10108-11px-before-hinting.png
/usr/share/doc/ttfautohint/img/afii10108-12px-after-hinting.png
/usr/share/doc/ttfautohint/img/afii10108-12px-before-hinting.png
/usr/share/doc/ttfautohint/img/blue-zones.pdf
/usr/share/doc/ttfautohint/img/blue-zones.svg
/usr/share/doc/ttfautohint/img/composite-no-round-xy-to-grid-option-c.png
/usr/share/doc/ttfautohint/img/composite-no-round-xy-to-grid.png
/usr/share/doc/ttfautohint/img/composite-round-xy-to-grid.png
/usr/share/doc/ttfautohint/img/e-17px-x14.png
/usr/share/doc/ttfautohint/img/e-17px-x17.png
/usr/share/doc/ttfautohint/img/fira-16px-ie11-win81.png
/usr/share/doc/ttfautohint/img/glyph-terms.pdf
/usr/share/doc/ttfautohint/img/glyph-terms.svg
/usr/share/doc/ttfautohint/img/o-and-i.pdf
/usr/share/doc/ttfautohint/img/o-and-i.svg
/usr/share/doc/ttfautohint/img/segment-edge.pdf
/usr/share/doc/ttfautohint/img/segment-edge.svg
/usr/share/doc/ttfautohint/img/ttfautohintGUI.png
/usr/share/doc/ttfautohint/ttfautohint.html
/usr/share/doc/ttfautohint/ttfautohint.pdf
/usr/share/doc/ttfautohint/ttfautohint.txt
/usr/share/licenses/ttfautohint
/usr/share/licenses/ttfautohint/COPYING

References

Summary

In this tutorial we learn how to install ttfautohint on Fedora 34 using yum and dnf.