s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
5. Chinese X Window SystemX Window System is a software with powerful environment of graphical user interface under UNIX System. XFree86 is a modified version from MIT X Window System and also freely distributed. 5.1 CXWinThe Chinese X, abbreviated with CXWin, is really a patch of XFree86, making it can show Chinese words under X Window System. Founder of it is srlee. CXWin only support BIG5 code at present, and can let you be possessed of Chinese pop-up menus, of Chinese titles of windows, and of showing Chinese under a variety of window managers and applications.
How to get it?You can get CXWin 3.3 from this ftp site below: ftp://linux.cis.nctu.edu.tw/packages/X/Xserver/CXwin/3.3/ If you use XFree86 3.2, you can get the Linux ELF format of version 3.2. ftp://linux.cis.nctu.edu.tw/packages/chinese/CXwin/binaries/
All you need is to get the corresponding X server. For example, if your video card is matched with If you system is compatible with rpm, you can get the newest CXWin 3.3.1 of rpm. ftp://linux.cis.nctu.edu.tw/packages/X/Xserver/CXwin/3.3.1/
PatchesYou can get the patches at the same place to compile to binary files by yourself if you've got the sources of XFree86.
InstallationMake sure that you have these shared libraries if your choice is CXWin 3.3 (You can use
If your choice is CXWin 3.2, then you need the libc of version 5.2.18 or newer. First, unzip the compressed files of gzip.
Duplicate the original X server as a copy as the root identification.
Put the decompressed CXWin into the exact place and create the decent symbolic link:
If your choice is rpm, then everything is more simple and more compact.
CXWin needs the following four BIG5 fonts to work normally:
5.2 Installation of Chinese fontsWhere to get these fonts?Maybe you have already installed some Chinese fonts; for GB fonts, you can find them out through the next way:
The last five fonts are the previous five ones' aliases. To check the installed BIG5 fonts, using
You can take all of it from this ftp site
ftp://ftp.ifcss.org/pub/software/fonts/ if you haven't installed any of them or if you want more of them. The gb/bdf/ amongst them is a GB font while the big5/bdf is a BIG5 font.
Installation of X fontsAssuming that you have already got a BIG5 font,
Then install them under /usr/X11R6/lib/X11/fonts/misc
Now it should contain the following two lines in fonts.dir :
You can create other aliases for these fonts for the advantages of saving typing time when using Chinese softwares.
Add the two lines in fonts.alias ,
Next, tell X Server to reload these fonts,
If everything is fine, you can use the new fonts now:
You can put these fonts into another directory, too, for instance,
So, when you start X next time, you can use these fonts without any problems.
Transformations from other fonts to X fontsThere is a TTF2BDF program, written by lwj, can let you transform the TTF fonts of Windows into BDF fonts. You can get it from here below: ftp://linux.cis.nctu.edu.tw/packages/chinese/TTF2BDF.EXEThis is a Win32 program, thus you must execute it on Windows 95 or NT. Next step is that change BDF into PCF, then you can use it under X. (You can use BDF directly under X; but that BDF carried with bigger sizes means PCF will be a better choice though.)
You may change HBF into BDF and PCF fonts, too. Here is the ftp site for the utility of transformation. ftp://ftp.ifcss.org/pub/software/fonts/utils/hbf.tar.gz
Other nice font conversion programs are available at: ftp://crl.nmsu.edu/CLR/multiling/General/ttf2bdf-1.8-ELF.tar.gz
5.3 TaBE & B5LETaBE and B5LE(Big5 Locale Environment) are projects both based on locale for solving the Chinese ability under X. If we can finish them, then the problems coming with Chinese I/O under X can be resolved thoroughly. The TaBE author, shawn, has been taken for the military service in Taiwan, and the homepage of TaBE had been removed either(so awfully?), so this project has been dead from that time. Author of B5LE is Thinker < Thinker.bbs@bbs.yzu.edu.tw>. However, the major platform is FreeBSD , though. If someone install B5LE successfully on Linux platform, please let me know about it. The concerned homepage is listed as follows: http://ftp-cnpa.yzit.edu.tw/~thinker/B5LE/
Next Previous Contents |