Ubuntu: Tofu character on Workbench


Everything else is OK, but can not display right text on Popup and Menu.



This type of problems usually happen when you have invalid permissions on font files. The solution lies in detecting the font file and correcting its permission.

Since, Most of the font files reside in /usr/share/fonts, you can apply a generic fix on them.

First make root the owner of all files and dirs in /usr/share/fonts/

sudo chown -R root:root /usr/share/fonts -v  

Then change all folders visitable by fixing permissions on them

find /usr/share/fonts -type d -exec sudo chmod -v 755 {} +  

Then use this command to fix permissions on font files.

find /usr/share/fonts -iname '*.[ot]tf' -type f -exec sudo chmod -v 644 {} +  

This command lists all files with .ttf and .otf extension and change the permissions of them to 644, required permission bits for fonts.

You can use this command to change all files permissions to 644.

sudo chmod -R a+rX /usr/share/fonts  

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