Sometimes we need some extra fonts for creative work. Font installing is a very simple process. Follow the following step to install Fonts.
Step 1: Download or Arrange Font
Keep your font file ready. In my case, I download the font file from the internet. It's Zip File so extract it using Unzip Command.
Step 2: Install the Fonts
In Linux, font binaries are located either in system directory /user/share/fonts/ or user local font directory which is ~/.local/share/fonts/.
I prefer ~/.local/share/fonts/ directory because I did not want this font available to other users.
When I check ~/.local/share directory fonts directory is not available so first I create it.
[yogesh@lap ~]$ mkdir ~/.local/share/fonts
Move Downloaded File to this fonts directory.
[yogesh@lap Downloads]$ mv Anurati_Free_Font.zip ~/.local/share/fonts/Then I extract it using unzip command
[yogesh@lap fonts]$ unzip Anurati_Free_Font.zipStep 3: Clear and Regenerate Your font Cache
Next, Clear and regenerate your fonts cache using the following command.
[yogesh@lap fonts]$ fc-cache -f -v
Confirm that the fonts are installed by displaying the paths and style definitions with the fc-list executable filtered on the font family name with grep
[yogesh@lap fonts]$ fc-list | grep -i Anurati /home/yogesh/.local/share/fonts/ANURATI Free Font/Anurati-Regular.otf: Anurati:style=Regular
Now you can open office and check your font.
No comments:
Post a Comment