RSS/Atom feed Twitter
Site is read-only, email is disabled

Characters became tofu after deleting fonts on Ubuntu

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Characters became tofu after deleting fonts on Ubuntu dqwyy 14 Oct 06:09
dqwyy
2018-10-14 06:09:43 UTC (about 6 years ago)

Characters became tofu after deleting fonts on Ubuntu

---- On Sat, 06 Oct 2018 11:19:34 +0800 dqwyy wrote ----

Then I went to the official website of Gimp and installed Gimp by using flatpak. After installation, I surprisingly found that the problem had been solved.

As I mentioned in the last mail, the fonts tofu problem about Gimp was solved by reinstalling through flatpak. However, the same fonts tofu problem occurred in some of other pieces of software such as Calculator and Characters[1]. Then I have got to try reinstalling the fonts. I reinstalled Dejavu but nothing changes. I even copied the whole original /usr/share/fonts/ directory form a Ubuntu LiveCD and paste it to my computer. Now all the fonts deleted by me had come back. However, nothing changes, either.

I'm so upset but I manage to solve this problem finally so I would like to share the solutions with those who will have the same problems in the future.

I posted my problem to the Ubuntu Chinese Forum[2]. At first, I got the suggestions to reinstall the fonts via `sudo apt install ttf-dejavu-core` but still nothing changes. Then there was a user suggesting me to check the permission of the fonts files. To be honest, as a Ubuntu/Linux newbie, I'm still reading the book named "The Linux Command Line" (written by William Shotts) and haven't read the chapter about permission yet. But his suggestion makes sense so I checked the permission and got these output[3]. Then I found the permission of SourceHanSerif-Bold.otf, which is manually installed by me, is different from the others. Meanwhile SourceHanSerif-Bold.otf is the default fonts for the interface.

So I tried copy it and paste it to /usr/share/fonts/ from ~/.local/share/fonts/ . Then I surprisingly found the problem had been solved[4].

Therefore it the PERMISSION that causes this problem. Sorry for my poor grammar, I hope that this solution will help those who have the same problem as me.

[1] https://i.loli.net/2018/10/10/5bbda5712a3b4.png [2] http://forum.ubuntu.com.cn/viewtopic.php?f=8&t=488623 (in Chinese) [3] https://paste.ubuntu.com/p/PVH6HMpKd3/ [4] https://i.loli.net/2018/10/14/5bc2d3d77a31f.png

Regards, dqwyy
http://a.dqwyy.moe
October 14, 2018