You are not logged in.
Pages: 1
I am trying to display Chinese characters in uxterm (they are currently blank). Here is my .Xresources:
*faceName: DejaVu Sans Mono
*faceNameDoublesize: WenQuanYi Bitmap SongThe output of lsof -p <xterm pid> | grep fonts contains
/usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf
/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf
/usr/share/fonts/TTF/DejaVuSansMono.ttfThis means that DejaVu is correctly loaded. If I set faceNameDoublesize to something like Liberation Mono, both DejaVu and Liberation are loaded (as seen in lsof output). So, I think my issue is with the font WenQuanYi Bitmap Song. I have read this section of the wiki.
I have installed ttf-dejavu, ttf-liberation, wqy-bitmapfont.
Did I install the right package? How can I make it load correctly?
Last edited by Gradient (2017-10-21 01:39:19)
Offline
With the command fc-list, I could find that the configuration should be
*faceNameDoublesize: WenQuanYi WenQuanYi Bitmap SongChinese characters now display correctly.
I have also updated the wiki.
Offline
Looks like the wqy font name is "WenQuanYi WenQuanYi Bitmap Song" while the config you give just has "WenQuanYi Bitmap Song" (i.e., missing the first "WenQuanYi"). It's my understanding that the names have to match exactly, so I would try that first. If that turns out to be the issue, going forward, you can use fc-list(1) to see what name to use.
Edit: Looks like you beat me to it ![]()
Last edited by GenkiSky (2017-10-21 01:44:22)
Offline
Pages: 1