Tofu character on Workbench

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

character

0

1 Answer

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
5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like