Ubuntu: rectangles instead of fonts in Ubuntu 16.04



Question:

Ubuntu lost all fonts:

screenshot

I was adding a new font on Ubuntu following the instructions by typing:

sudo chown root:staff /usr/share/fonts/truetype/ -R  sudo chmod 644 /usr/share/fonts/truetype/* -R  sudo chmod 755 /usr/share/fonts/truetype/  

After that I typed:

sudo fc-cache -fv  

And all my fonts disappeared (see the screenshot).

I found some topics on forums like this, but nothing helped.

How to solve this?


Solution:1

Well, after a few unsuccessful attempts I found the solution for my problem:

  1. Manually download Ubuntu fonts from the official website,

  2. Unpack it and open each in Font Viewer (that in my case was automatically by just clicking on each of the file).

  3. On the right corner click INSTALL (do it for all the fonts).

  4. At this point you start to see some fonts.

  5. In my case the problem was with some wrong lines that I put before all that started. So I wrote the next:

sudo chmod -R 755 /usr/share/fonts/truetype/

sudo fc-cache -fv

After that everything returned in the normal way.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »