A solution to display Chinese(GB18030 Locale) and Japanese Fonts in Xmanager Version 2.0
来源:互联网 发布:ug8.0编程电子书 编辑:程序博客网 时间:2024/05/21 20:25
Brant Chen(xkdcc@163.com), Friday, April 18, 2008
1 Displaying Chinese(GB18030) Fonts
- This method to display Chinese(GB18030) in Xmanager has been tested in AIX5.3, Solaris10, HP-UX 11v with Xmanager2 already.
- Thanks Richard Liu for discovering that only check the necessary fonts will make NBU GUI popup fast on AIX GB18030 locale.
1.1 For AIX
(1) Download aix5utfcn.exe and install it into “<Your Xmanager installation Dir>/Xmanager2/Fonts”.
(2) Copy “<Your Xmanager installation Dir>/Xmanager2/Fonts/Misc” as “<Your Xmanager installation Dir>/Xmanager2/Fonts/Light Misc”, delete files and it looks like below:
-----------------------
6x13.pcf
cursor.pcf
fonts.alias
fonts.dir
olcursor.pcf
-----------------------
Modify the fonts.alias file to:
! $Xorg: fonts.alias,v 1.3 2000/08/21 16:42:31 coskrey Exp $
fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
olcursor "-sun-open look cursor-----12-120-75-75-p-160-sunolcursor-1"
Modify the fonts.dir file to:
3
6X13.PCF -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
OLCURSOR.PCF -sun-open look cursor-----12-120-75-75-p-160-sunolcursor-1
CURSOR.PCF cursor
(3) Lunch Xconfig and create a new profile named AIX Profile.
(4) Double click AIX Profile à choose Font tab à uncheck all the fonts Click à Add Font Directory à select “<Your Xmanager installation Dir>/Xmanager2/Fonts/AIX5UTFCN” à click OK;
Click Add Font Directory à select “<Your Xmanager installation Dir>/Xmanager2/Fonts/Light Misc” à click OK.
(5) Confirm the three checkboxs named Show Missing Font Dialog, Automatic Font Substitution and Permit Font Path to Change are unchecked.
(6) Click OK on AIX Profile Properties dialog box.
(7) Now you can create a new XDMCP session to connect AIX with this AIX Profile.
(8) Done.
Without uncheck redundant default fonts and modify fonts.alias and fonts.dir files, the NBU GUI would popup slowly and slowly. Now its speed is almost equally to that in SolarisJ
1.2 For HPUX
(1) Download hpuxfont.rar and unzip it into “<Your Xmanager installation Dir>/Xmanager2/Fonts” .
(2) Lunch Xconfig.
(3) Double click Default Profile à choose Font tab à Add Font Directory à select “<Your Xmanager installation Dir>/Xmanager2/Fonts/hpux” à click OK.
(4) Click OK on Default Profile Properties dialog box.
Compare with AIX steps, you can skip the Show Missing Font Dialog , Automatic Font Substitution and Permit Font Path to Change option settings.
(5) Now Chinese GB18030 for HPUX can be displaying right through this Default Profile.
1.3 For Solaris
(1) Download chinese.exe and install it into “<Your Xmanager installation Dir>/Xmanager2/Fonts”. You will get “../Fonts/Chinese_misc”, “../Fonts/zh_CN” and “../Font/zh_TW” 3 directories.
(2) Lunch Xconfig.
(3) Double click Default Profile à choose Font tab à Add Font Directory à select “<Your Xmanager installation Dir>/Xmanager2/Fonts/ zh_CN/zh_CN.GBK” à click OK.
(4) Click OK on Default Profile Properties dialog box.
Compare with AIX steps, you can skip the Show Missing Font Dialog , Automatic Font Substitution and Permit Font Path to Change option settings.
(5) Now Chinese GB18030 for Solaris can be displaying right through this Default Profile.
2 Displaying Japanese Fonts
(1) This method to display Japanese in Xmanager has tested in Solaris 10 and Xmanager2 already:
· SHIFT – JIS Character set of Japanese hasn’t been tested.
· ”ja----EUC”, “ja_JP.PCK”, “ja_JP.UTF-8”, “ja_JP.eucJP” have been tested.
(2) Download Japanese.exe and install it into “<Your Xmanager installation Dir>/Xmanager2/Fonts”.
(3) Lunch Xconfig.
(4) Double click click Default Profile à choose Font tab à Add Font Directory à select “<Your Xmanager installation Dir>/Xmanager2/Fonts/Japanese” à click OK.
(5) Click OK on Default Profile Properties dialog box.
Compare with AIX steps, you can skip the Show Missing Font Dialog , Automatic Font Substitution and Permit Font Path to Change option settings.
(6) It works well in AIX5.3, Solaris10 and HP-UX 11v i2.
3 About Xmanager3
(1) Idownloaded Xmanager3 the latest version ofXmanager and installed it.
In Xmanager3, you needn’t download the aix5utfcn.exe, chinese.exe and Japanese.exe to install.
(2) For AIX, it’s better to do the same steps above for displaying GB18030.
(3) I haven’t tested in Solaris 10 and HP-UX 11v i2 because Xmanager2 satisfied our requests already.
4 Useful Links
(1) Displaying Chinese, Korean and Taiwanese character in Xmanager http://www.netsarang.com/bbs/detail.html?id=xmanager&num=1191&page=&s_select=&s_text
(2) can't display Chinese
http://www.netsarang.com/bbs/detail.html?id=xmanager&num=1471&page=&s_select=&s_text
(3) Xmanager2.0 cannot work well with AIX5.3 in GB18030
http://www.netsarang.com/bbs/detail.html?id=xmanager&num=2556
(4) How to display Chinese character on the title
http://www.netsarang.com/bbs/detail.html?id=xmanager&num=2785&page=&s_select=&s_text
- A solution to display Chinese(GB18030 Locale) and Japanese Fonts in Xmanager Version 2.0
- How to display Chinese/Japanese (Unicode) Character on Windows
- to support Chinese in Win7 English version
- Chinese version QQ—how to install it and use it to make a audio call and video call
- Chinese vs Japanese
- Linux command to display package description, information, version and usage
- A Japanese guy in China restaurant.
- Eclipse.ini config error in XP Japanese version
- how to display chinese character properly
- A solution to the polymorphic class problem in STL
- Hide and Don’t Display N/A Attributes in Magento
- How to display XML in a JTree using JDOM
- QT28 how to display a splash screen in qt
- Use eof() to read and display a text file.
- Use eof() to read and display a text file.
- A Pattern is a solution to a problem in a context
- Chinese Input Methods in Ubuntu 14, 13, 12, 11, and 10(How to Set Up Ubuntu Chinese IMEs)
- embed all fonts in pdf for camera ready version
- SQL操作全集
- final 关键字 和 static 用法
- tomcat关掉,还能访问JSP
- UML中关联、依赖、聚集等关系的异同
- jspx.Net Framework 1.4 发布
- A solution to display Chinese(GB18030 Locale) and Japanese Fonts in Xmanager Version 2.0
- 动态设置Cookies过期时间
- DateTime类
- 重命名文件或目录(renameTo)
- 按挂机键后程序退到后台运行,按c键结束程序
- 将文件或目录移动到另外的目录
- 兵法:让上司赏识你的十要诀
- VB调用GetAdaptersInfo 的正确方法
- 存储过程带in参数