It has been the biggest headache to configure Linux desktop environment to display sharp Chinese glyphs. Personally, I would rather trace the segmentation errors rather than setup the Chinese font. For years, I was satisfied with the bottom line, i.e to browse the Chinese web page using Firefox, input Chinese when necessary.
It is quite embarrassing to stick to the ugly Chinese display as a geek, I would summarize my efforts to configure the Chinese fonts.
Get Chinese TrueType font
Copy simsun.ttc from Microsoft Windows system, put somewhere, for example, /usr/share/fonts/ttf.
sudo chmod 644 simsun.ttf
Add the path to the /etc/X11/xorg.conf:
Refresh the fontconfig cache
Restart X server, then use xlsfonts and fc-list to check whether the font has been installed.
Firefox Chinese rendering is awesome without bold/Italic effect, I am quite satisfied with the output:
All KDE application could not render Chinese pages, for unknown reason, kochi is preferred instead of simsun although I configure the SimSun as the No. 1 substitution font for all English fonts.
I prefer the lightweight rxvt-unicode terminal using monospace font, it can display Chinese, but quite ugly. It looks like the font engine uses two different fonts to render Chinese.
Update: using grep font /proc/`pidof urxvt`/maps, I found that the 12x13ja.pcf is used in rendering the font. URXVT would use the Japanese font first then fall back to Simsun for missing character, remove the font and restart urxvt, everything is fine as the right screenshot.
FVWM has the problem to render the Chinese in the title bar using xft:Verdana:bold
Update: I am back to KDE 3.5.7, sacrificing a little bit performance and memory for better user experience. The easiest way to get sharp Chinese font in LCD display is to use Microsoft Yahei font, released with Microsoft Windows Vista. This font supports crispy English and Chinese. For example, the konsole and amarok rendering the Chinese font:
Configure all the fonts in Kopete, and don’t forget to setup the font in chat window:
However, Konqueror still has the problem to render Chinese, especially specific size. The left is the shrunk font, we see only some characters are missing, while we increase the font, all the fonts are missing, refer to the bottom.