The word “font” is used for typing and displaying the characters of typography in a specific design or size and the “Google fonts” means different styles of typing characters introduced by Google. Google fonts have a huge collection of fonts that are being used for typography like “Roboto” and “Lato”.
Google Fonts has about 1405 different font libraries which are open source. Google Fonts are recommended if you are going to design a website or planning to write the description of your products because of their different styles.
Google fonts can be downloaded on any operating system but in this write-up, we are concerned to download and install Google Fonts on Ubuntu 22.04.
How to download and install Google Fonts on Ubuntu 22.04
There are two ways to download and install google fonts on Ubuntu which are:
- From the official website of Google Fonts
- From Font Downloader
Method 1: How to download and install Google fonts on Ubuntu 22.04 from its official website
We can choose any specific Google font from its official website, download it, and then install it on Ubuntu. For the understanding, we will download the “Macondo” Google fonts and install it:
Click on the “Download Family” and wait for the downloaded file to be downloaded:
When the “Macondo” has been downloaded, navigate to the “Downloads” directory:
$ cd Downloads
Next is to unzip the downloaded zip file of Mocando:
$ unzip Macondo.zip
Next step is to register the font by using the command:
$ sudo fc-cache -fv
To confirm the installation use the command:
$ fc-match Macondo
Method 2: How to download and install Google fonts on Ubuntu 22.04 from Font Downloader
Another application by which we can download and install Google fonts is “Font Downloader” which can be downloaded by using the flatpak utility as this package has to be downloaded and installed from flathub. To install the flatpak utility on Ubuntu, use the command:
$ sudo apt install flatpak -y
Next step is to download and install Font Downloader by using the flatpak command:
$ flatpak install flathub org.gustavoperedo.FontDownloader
To run the application of Font Downloader on Ubuntu, use the command:
$ flatpak run org.gustavoperedo.FontDownloader
You can download any type of Google font from here and use it. To uninstall the Font Downloader, we will use the flatpak utility again:
$ flatpak uninstall flathub org.gustavoperedo.FontDownloader
Fonts are essential specially for graphics designers to create distinction in the content as every font has a purpose and appearance. There are many sources that provide free fonts, Google Fonts is one of them. Google fonts come with tons of different styles and layouts which make the reader’s attention to the writing content. In this guide, two different methods are explored to download Google fonts on Ubuntu 22.04.
TUTORIALS ON LINUX, PROGRAMMING & TECHNOLOGY