OTS (OpenType Sanitizer) is a command-line tool that scans and sanitizes OpenType fonts. In this tutorial, we will go through the steps needed to install OTS on FreeBSD Latest using the command line.
Before you start, make sure that you have the following:
OTS has a few dependencies that need to be installed before you can run the tool. To install the necessary packages, run the following command:
sudo pkg install cmake git gmake ninja pcre2 libxml2 libxslt
This will install the packages needed to compile and run OTS.
Next, we need to clone the OTS repository from GitHub. To do this run the following command:
git clone https://github.com/khaledhosny/ots.git
This will clone the source code to your machine.
Next, we need to build and install OTS. Navigate to the OTS directory by running the following command:
cd ots
Once you are in the ots directory, run the following commands:
mkdir build
cd build
cmake -G Ninja ..
ninja
ninja install
This will configure, build and install OTS to your system.
To check if OTS was installed correctly, run the following command:
ots-sanitize -h
This should display the help screen which means that OTS was installed correctly.
Congratulations, you have successfully installed OTS on FreeBSD Latest machine. You can now use OTS to sanitize OpenType fonts.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!