How To Install opentype-sanitizer on Fedora 36

In this tutorial we learn how to install opentype-sanitizer in Fedora 36. opentype-sanitizer is Parses and serializes OpenType/WOFF/WOFF2 font files

Introduction

In this tutorial we learn how to install opentype-sanitizer on Fedora 36.

What is opentype-sanitizer

The OpenType Sanitizer (OTS) parses and serializes OpenType files (OTF, TTF) and WOFF and WOFF2 font files, validating them and sanitizing them as it goes. The C library is integrated into Chromium and Firefox, and also simple command line tools to check files offline in a Terminal. The CSS font-face property is great for web typography. Having to use images in order to get the correct typeface is a great sadness; one should be able to use vectors. However, on many platforms the system-level TrueType font renderers have never been part of the attack surface before, and putting them on the front line is a scary proposition… Especially on platforms like Windows, where it’s a closed-source blob running with high privilege.

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

Install opentype-sanitizer on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install opentype-sanitizer

Install opentype-sanitizer on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install opentype-sanitizer using yum by running the following command:

sudo yum -y install opentype-sanitizer

How To Uninstall opentype-sanitizer on Fedora 36

To uninstall only the opentype-sanitizer package we can use the following command:

sudo dnf remove opentype-sanitizer

opentype-sanitizer Package Contents on Fedora 36

/usr/bin/ots-idempotent
/usr/bin/ots-perf
/usr/bin/ots-sanitize
/usr/bin/ots-side-by-side
/usr/bin/ots-validator-checker
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/ee4c265d59f7ebd79afca3fc9b5a6107e6248a
/usr/lib/.build-id/29
/usr/lib/.build-id/29/905d3c5027affc075695dabd5db854e98e645a
/usr/lib/.build-id/79
/usr/lib/.build-id/79/52b2008a62985b6a9afac52e23d5765810e589
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/3ac9c9346030b4278ff8a304884779da5b9cce
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/647dfd85295775f0d01668abed9cb2ffcc6624
/usr/share/doc/opentype-sanitizer
/usr/share/doc/opentype-sanitizer/DesignDoc.md
/usr/share/doc/opentype-sanitizer/HowToFix.md
/usr/share/doc/opentype-sanitizer/HowToTest.md
/usr/share/doc/opentype-sanitizer/README.md
/usr/share/licenses/opentype-sanitizer
/usr/share/licenses/opentype-sanitizer/LICENSE
/usr/share/man/man1/ots-idempotent.1.gz
/usr/share/man/man1/ots-perf.1.gz
/usr/share/man/man1/ots-sanitize.1.gz
/usr/share/man/man1/ots-side-by-side.1.gz
/usr/share/man/man1/ots-validator-checker.1.gz

References

Summary

In this tutorial we learn how to install opentype-sanitizer on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).