I installed some fonts a while ago on my Ubuntu 20.04. I created three directories (otf, ttc, ttf) under another directory I also created named 'downloaded_fonts', which was created under /usr/share/fonts
.
Those fonts were zipped in a file; I unziped them, and moved them all accordingly in those three directories: otf, ttc, ttf.
After that the (
and )
symbols were in italics in some applications (such as Firefox). When I tried to open GIMP the initial text was all tofu and then it crashed immediately.
Both problems were solved by simply moving the downloaded_fonts
directory out of /usr/share/fonts
(I moved it to the Downloads directory).
After that I installed Krita. The problem is: there are no min/max/close buttons on Krita (although the close button works if I click where it should be); also the document title's characters at the top of the window (as well as the sub-menus') are all tofu.
How can I prevent these weird font interactions?
I'm new to Ubuntu and trying to figure this all out
Thanks in advance
Edit:
The buttons' problem was solved by itself [?], I'm not really sure how.
I ran the following commands, which solved the title bar problems:
rm -rf ~/.cache/fontconfig/
sudo fc-cache -r
It cleared the fonts' cache and everything was smooth again.
I also followed one of the replies (but a bit differently) and moved the fonts directory under /home/[user]/.local/share/fonts
.
I just noticed that the 'italics' problem returned, so one of the fonts is (or some of them are) corrupted.