Author Topic: [TRICK] add a non-repo font  (Read 3587 times)


  • Newbie
  • *
  • Posts: 32
  • Karma: +0/-0
[TRICK] add a non-repo font
« on: Sat Jul 30 08:33:06 2022 »
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: [Select]
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

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
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

so it can be packaged at a later date.
« Last Edit: Sat Jul 30 08:41:17 2022 by aus9 »