Basically, all the fonts you find can be divided into two types: raster and vector. Raster fonts are faster and easier, but they do not support scaling. In contrast, vector fonts can be easily scaled without loss of quality. If interested, there is a lot of information on this topic on the Internet.
So, let's get started.
How to install any font in Ubuntu.
Ubuntu uses two main folders for storing fonts:
/usr/share/fonts - all available fonts in Ubuntu.
.fonts - user-only fonts.
In short, we need to download a font and copy it to a folder.
Create a folder .fonts, if it is not there.
Then copy the downloaded font to this folder with this command.
cp font_path/downloaded_font.ttf ~/.fonts
It remains to update the font cache, and we are ready to use our font.
fc-cache -f -v
Install TrueType fonts in Ubuntu.
TrueType is a Apple font pack that the company released back in 1980s. Fonts received a free license to make them the standard for the web. This font pack is very easy to install in Ubuntu.
We execute the following command in the terminal
sudo apt-get install ttf-mscorefonts-installer
Done, now you can use the fonts that are available for Windows users in Ubuntu. These are fonts like Arial, Times New Roman, Courier New, etc.
I want to warn you that not all fonts available on Windows are installed with this package on Linux. Therefore, if something is missing, just go to Windows (System_Disk:/Windows/Fonts) and find the missing fonts. Then install them as we did it in the first case, moving them to the .fonts folder in Ubuntu.