Help > Tips and Tricks

[TRICK] add a non-repo font


If cards search <font-name> reveals no hits then consider one way of adding fonts.

I will use mononoki as an example. no hits for that name.
Download it with the full wget not the busybox one please & unzip

Alternatively click the link with your web browser!
I give it a new folder under /usr/share/fonts
and last command is to update cache for fonts

--- Code: ---sudo cards install wget unzip
cd Downloads
/usr/bin/wget --no-check-certificate
unzip mono*zip
[ -d /usr/share/fonts/mononoki ] || sudo mkdir -p  /usr/share/fonts/mononoki
sudo cp webfont/*ttf /usr/share/fonts/mononoki/
sudo fc-cache -f -v /usr/share/fonts
--- End code ---

output SNIP ends with fc-cache: succeeded

Now in my fav lxterminal go to edit preferences and mono* fonts should now be selectable

There are other fonts that also offer diff between zero and O for Orange

the zero is a O with a  slash through it
clickable image if interested

its great for terminals but not great for text editors or web browsers

I forgot to mention

--- Quote --- Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license
--- End quote ---

so it can be packaged at a later date.


[0] Message Index

Go to full version