A solution to display Chinese(GB18030 Locale) and Japanese Fonts in Xmanager Version 2.0

简介:

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 Solaris J

1.2      For HPUX

(1)    Download  hp.exe 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)    I downloaded Xmanager3 the latest version of Xmanager 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
(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





本文转自 xkdcc 51CTO博客,原文链接:http://blog.51cto.com/brantc/116012,如需转载请自行联系原作者
目录
相关文章
|
存储 Java C++
Python 教程之控制流(9)Python 中的 Switch Case(替换)
Python 教程之控制流(9)Python 中的 Switch Case(替换)
1325 0
|
前端开发 算法 API
构建高性能图像处理Web应用:Next.js与TailwindCSS实践
本文分享了构建在线图像黑白转换工具的技术实践,涵盖技术栈选择、架构设计与性能优化。项目采用Next.js提供优秀的SSR性能和SEO支持,TailwindCSS加速UI开发,WebAssembly实现高性能图像处理算法。通过渐进式处理、WebWorker隔离及内存管理等策略,解决大图像处理性能瓶颈,并确保跨浏览器兼容性和移动设备优化。实际应用案例展示了其即时处理、高质量输出和客户端隐私保护等特点。未来计划引入WebGPU加速、AI增强等功能,进一步提升用户体验。此技术栈为Web图像处理应用提供了高效可行的解决方案。
|
11月前
|
人工智能 监控 供应链
逻辑架构解析:AI指挥官如何赋能调度官实现任务闭环?
2026年AI迈入“系统协同”新纪元,“指挥官”(定战略、解意图)与“调度官”(管执行、编资源)双引擎架构成为生产力核心。二者分工协作,实现复杂任务的自主规划、动态调度与闭环交付,重塑产业逻辑与职场价值。
483 2
|
11月前
|
人工智能 测试技术 开发者
AI Coding后端开发实战:解锁AI辅助编程新范式
本文系统阐述了AI时代开发者如何高效协作AI Coding工具,强调破除认知误区、构建个人上下文管理体系,并精准判断AI输出质量。通过实战流程与案例,助力开发者实现从编码到架构思维的跃迁,成为人机协同的“超级开发者”。
4238 106
|
前端开发 IDE 数据库连接
最新PyCharm 安装详细图文教程:小白也能轻松搞定
PyCharm 来自 JetBrains,是一款专为 Python 打造的专业集成开发环境(IDE)。我们用这个工具可以高效地编写、调试并运行 Python 代码,同时还能使用虚拟环境管理、数据库连接以及前端相关功能。无论是在入门阶段练习基础语法,还是在工程化场景中搭建完整项目,PyCharm 用起来都很顺手。
2233 16
|
7月前
|
运维 监控 机器人
告警覆盖率90%以上,值班团队却越来越累?问题出在告警治理这一步
监控覆盖率做到90%以上,值班团队反而越来越累?本文从实际项目出发,拆解告警分级、去重、归并、路由4个动作,附Python去重逻辑和钉钉通知代码,帮你把"告警洪水"变成可直接处理的事件流。
938 1
|
9月前
|
数据采集 运维 安全
深耕实用:国内静态IP的4大核心优势及行业应用对比
国内静态IP以稳定、安全、易管理、合规为核心优势:IP长期固定,避免连接中断;支持防火墙白名单,提升安全性;便于远程运维与设备定位;满足网站备案及等保要求。广泛应用于企业建站、电商多账号、远程办公、物联网及金融政务等场景。
|
9月前
|
人工智能 安全 开发工具
玩转AI研发系统:从环境搭建到流程自动化
深度使用AI研发后,我彻底改变了对AI编程的认知——它并非简单的代码辅助,而是融合AIGC大模型与软件工程全流程管理的一站式DevOps智能协作中台。其核心功能精准破解研发效率痛点,下文结合实操心得与真实案例,拆解其核心技术能力及使用方法,助力研发提质增效。
824 3
|
人工智能 监控 前端开发
基于 Next.js 的书法字体生成工具架构设计与 SSR 优化实践
本项目是一款书法字体生成工具,采用 Next.js 14(App Router)与 Tailwind CSS 构建前端,阿里云 Serverless 部署后端。通过混合渲染策略(SSG/SSR/CSR)、Web Worker 异步计算及 CDN 字体分片加载优化性能。服务端借助阿里云函数计算处理计算密集型任务,将平均耗时从 1200ms 降至 280ms,支持 1000+ QPS。动态路由与 ARMS 监控提升工程化水平,未来计划引入 WebGPU 和 AI 字体风格迁移技术,进一步优化用户体验。
|
程序员 编译器
与浮点 CPU 相比,定点 CPU 的优点和缺点是什么
定点CPU相比浮点CPU,优点在于结构简单、成本低、功耗小,适合处理整数运算;缺点是无法高效处理小数和复杂数学运算,精度受限。适用于对成本和功耗敏感的应用场景。