How to Install OTS on NetBSD
OTS is a command-line tool that can parse font files and detect whether they incorporate outdated and problematic font hinting and smoothing technologies. In this tutorial, we will explain how to install OTS on NetBSD.
Prerequisites
To follow this tutorial, you must have the following:
- A NetBSD system
- An internet connection
- Permission to install packages
Steps
Open a terminal window on your NetBSD system.
Update the system's package list by typing the following command:
$ sudo pkgin updateInstall the necessary dependencies by typing the following command:
$ sudo pkgin in cmake gcc gitClone the OTS repository by typing the following command:
$ git clone https://github.com/khaledhosny/ots.gitChange to the OTS directory by typing the following command:
$ cd otsConfigure the build by typing the following command:
$ cmake .Build OTS by typing the following command:
$ makeInstall the OTS binary by typing the following command:
$ sudo make installVerify that OTS is installed by typing the following command:
$ ots-sanitize --versionIf OTS is installed correctly, this command should print the version number of OTS.
Congratulations! You have successfully installed OTS on NetBSD. You can now use the ots-sanitize command to check whether your font files contain deprecated hinting and smoothing technologies.