How To Install libotf on CentOS 7
Introduction
In this tutorial we learn how to install libotf
on CentOS 7.
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. 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libotf.
Install libotf on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install libotf
using yum
by running the following command:
Install libotf 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.
After updating yum database, We can install libotf
using dnf
by running the following command:
How To Uninstall libotf on CentOS 7
To uninstall only the libotf
package we can use the following command:
References
Summary
In this tutorial we learn how to install libotf
on CentOS 7 using yum
and dnf
.