You are not logged in.

#1 2015-11-08 15:40:23

chpzcc
Member
Registered: 2014-09-30
Posts: 2

Chinese characters become boxes in gtk3 apps

I have updated my system one or two months ago. Right after I updated my system, I found that all Chinese characters became boxes in some applications, such as gnome terminal, gedit, nautilus. However, those characters are displayed normally in other applications like Chromium or Libreoffice (gtk2).

When I copied those characters from problematic apps, and pasted them on other apps, they became correct ones again. I later found that the problematic applications are all using gtk3, so I suspected that the problem is somewhat related to the rendering of gtk3. Any ideas about that?

Offline

#2 2015-11-08 18:59:22

techwiz
Member
Registered: 2012-01-26
Posts: 48

Re: Chinese characters become boxes in gtk3 apps

try rebuilding font cache `fc-cache -f -v`

Offline

#3 2015-11-09 07:12:31

chpzcc
Member
Registered: 2014-09-30
Posts: 2

Re: Chinese characters become boxes in gtk3 apps

/usr/share/fonts: caching, new cache contents: 0 fonts, 12 dirs
/usr/share/fonts/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/Fonts: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/OTF: caching, new cache contents: 23 fonts, 0 dirs
/usr/share/fonts/TTF: caching, new cache contents: 27 fonts, 0 dirs
/usr/share/fonts/Type1: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/WindowsFonts: caching, new cache contents: 841 fonts, 0 dirs
/usr/share/fonts/cantarell: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/cyrillic: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/misc: caching, new cache contents: 59 fonts, 0 dirs
/usr/share/fonts/util: caching, new cache contents: 0 fonts, 0 dirs
/home/pr/.local/share/fonts: skipping, no such directory
/home/pr/.fonts: skipping, no such directory
Re-scanning /usr/share/fonts: caching, new cache contents: 0 fonts, 12 dirs
Re-scanning /usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/pr/.cache/fontconfig: cleaning cache directory
/home/pr/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded

I've tried this one and here is the result. However, the problem still remains.

Last edited by chpzcc (2015-11-09 07:13:25)

Offline

Board footer

Powered by FluxBB