guda@guda-laptop:~$ sudo mkdir /usr/share/fonts/myfonts
guda@guda-laptop:~$ cd myfonts/
guda@guda-laptop:~/myfonts$ sudo cp *.ttf /usr/share/fonts/myfonts/
guda@guda-laptop:~/myfonts$ sudo fc-cache -f
guda@guda-laptop:~/myfonts$
- Fonts:
- AnonymousPro and AnonymousTT from here
Font sources:
Make X11 fonts available to Java
Perform one of the following:
- Open /etc/profile and add a new environment variableJAVA_FONTS=/usr/share/fonts/truetype
export JAVA_FONTS
- Open font.properties file under jre/lib directory, uncommnent and set to the appropriate font directoryappendedfontpath=/usr/share/fonts/truetype