How To Install libotf on Fedora 34
Introduction
In this tutorial we learn how to install libotf
on Fedora 34.
What is libotf
The library “libotf” provides the following facilites. Read Open Type Layout Tables from OTF file. Currently these tables are supported; head, name, cmap, GDEF, GSUB, and GPOS. Convert a Unicode character sequence to a glyph code sequence by using the above tables. The combination of libotf and the FreeType library (Ver.2) realizes CTL (complex text layout) by OpenType fonts. This library is currently used by the m17n library. It seems that the probject Free Type Layout provides the similar (or better) facility as this library, but currently they have not yet released their library. So, we have developed this one. libotf 0.9.13 18.fc34 x86_64 101 k libotf-0.9.13-18.fc34.src.rpm fedora A Library for handling OpenType Font http LGPLv2+ The library “libotf” provides the following facilites. Read Open Type Layout Tables from OTF file. Currently these tables are supported; head, name, cmap, GDEF, GSUB, and GPOS. Convert a Unicode character sequence to a glyph code sequence by using the above tables. The combination of libotf and the FreeType library (Ver.2) realizes CTL (complex text layout) by OpenType fonts. This library is currently used by the m17n library. It seems that the probject Free Type Layout provides the similar (or better) facility as this library, but currently they have not yet released their library. So, we have developed this one.
We can use yum
or dnf
to install libotf
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libotf.
Install libotf 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 libotf
using dnf
by running the following command:
sudo dnf -y install libotf
Install libotf 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 libotf
using yum
by running the following command:
sudo yum -y install libotf
How To Uninstall libotf on Fedora 34
To uninstall only the libotf
package we can use the following command:
sudo dnf remove libotf
libotf Package Contents on Fedora 34
/usr/bin/otfdump
/usr/bin/otflist
/usr/bin/otftobdf
/usr/bin/otfview
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/d4381742af55aa17850e00b81a6a2108da4413
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/bd73db6d279ad3c30e97b53e049dde80950e99
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/9351c50e1cad5a4f2f4d4c8ffa23a2eb788c84
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/53c6af967f833434c06066e426a554fe679218
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/d7b4a5e991a2fb8114b6047bef4630c15ba6cc
/usr/lib/libotf.so.0
/usr/lib/libotf.so.0.0.0
/usr/share/doc/libotf
/usr/share/doc/libotf/AUTHORS
/usr/share/doc/libotf/COPYING
/usr/share/doc/libotf/NEWS
/usr/share/doc/libotf/README
/usr/bin/otfdump
/usr/bin/otflist
/usr/bin/otftobdf
/usr/bin/otfview
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/3e54a72878454cf16081a211b7edcc6b3ba32b
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/692e1dbb3389f35f045127d500c9efa684ca79
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/8c925e556b4cfd5968f4fbc0974845d115ac53
/usr/lib/.build-id/89
/usr/lib/.build-id/89/01f9c8d68fec26ac86ca4240faea903340c144
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/80925706fa3ecd9811789df59398f53d62b3a3
/usr/lib64/libotf.so.0
/usr/lib64/libotf.so.0.0.0
/usr/share/doc/libotf
/usr/share/doc/libotf/AUTHORS
/usr/share/doc/libotf/COPYING
/usr/share/doc/libotf/NEWS
/usr/share/doc/libotf/README
References
- [libotf website](http://www.nongnu.org/m17n/ http://www.nongnu.org/m17n/)
Summary
In this tutorial we learn how to install libotf
on Fedora 34 using yum and dnf.