Tiny Core Extensions > TCE Q&A Forum
How to display Chinese in xterm or aterm
bobowsh:
I tried to config like this below, but it does'nt work,
--- Code: ---Aterm*scrollBar: true
Aterm*transparent: true
Aterm*title: Terminal
Aterm*foreground: white
Aterm*background: black
Aterm*font: WenQuanYi Zen Hei
Aterm*cursorColor: green
Aterm*fading: 70
Aterm*shading: 50
Aterm*color12: DodgerBlue1
Aterm*saveLines: 1000
fltk*scheme: gtk+
Xft.dpi: 96.0
--- End code ---
--- Code: ---! English font
! xterm*faceName: DejaVu Sans Mono:antialias=True:pixelsize=13
! Chinese font
Aterm*faceNameDoublesize:WenQuanYi Zen Hei:antialias=True:pixelsize=13
--- End code ---
--- Code: ---Aterm*faceName: WenQuanYi Zen Hei
Aterm*faceSize: 12
--- End code ---
--- Code: ---Aterm*locale:true
Aterm.utf8: true
--- End code ---
--- Code: ---!font and locale
xterm*locale: true
xterm.utf8: true
xterm*utf8Title: true
xterm*fontMenu*fontdefault*Label: Default
xterm*faceName:WenQuanYi Zen Hei:antialias=True:pixelsize=16
!xterm*faceName: monofur:antialias=True:pixelsize=20
xter*boldFont: WenQuanYi Zen Hei Mono:style=Bold:pixelsize=15
xterm*faceNameDoublesize:WenQuanYi Zen Hei:antialias=True:pixelsize=15
xterm*xftAntialias: true
xterm.cjkWidth:true
XTerm*preeditType: Root
--- End code ---
[Edit]: Added code tags. Rich
polikuo:
Hi, bobowsh.
Use a different terminal, aterm doesn't support UTF-8
Which port are you using ?
Try rxvt, vte, lxterminal, genome-terminal ... etc.
You'll also need True Type Fonts such as unifont, notosans ... etc.
Rich:
Hi polikuo
--- Quote from: polikuo on December 14, 2024, 09:49:48 AM --- ... Try rxvt, vte, lxterminal, genome-terminal ... etc. ...
--- End quote ---
Did you mean gnome-terminal ?
polikuo:
Ha~, ha~
Nice catch
Yes, I mean gnome-terminal
This isn't molecular biology.
Rich:
Hi polikuo
--- Quote from: polikuo on December 14, 2024, 10:41:01 AM --- ... This isn't molecular biology.
--- End quote ---
True, but not everyone who reads that post in the future
may be aware of gnome.
I've been on a few wild goose chases because someone
looking for help misspelled an item I was not familiar with.
Navigation
[0] Message Index
[#] Next page
Go to full version