[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X locales function on non-x86 platform



嗨!各位好, 加入这个mailing list 甚少发言,实在不好意思,
不知各位可有在 x86 以外平台设定中文 X 的经验?

我目前的平台是 StrongARM, 一模一样的设定在 x86 pc 上
可以显示中文, 但在 ARM 上面却无法显示, 有些字显示的
出来, 大多却不行.

使用 X remote display, 做对照实验, 结果如下
X client        X Server
x86     ------> ARM          正常
ARM     ------> x86          不行

因此研判, 问题应该是出在 Xlib, 其 locale text
function 的部份, 不知是否有常见的 unportable bug,
现在这两种 CPU 比较大的差别在 -- x86 char type 是 signed,
ARM char type 是 unsigned, 另外 ARM 的 data align 是
4 byte, 问题是出在这吗? 我也不确定, 我试著去 trace
XLib drawText 系列 function, 不过, 真的是好复杂....

在此列出我的设定环境, 希望各位帮忙看看

Hardware:
        Robel NetWinder(Intel SA110)
        Compaq iPAQ(Intel SA1110)
X:
        Server: XFree86 4.0.2 Tiny X
                XFree86 3.3.6

        XLib  : XFree86 4.0.2
                XFree86 3.3.6

测试程式:
        自己写的小程式,
        标准 x client, 没有用到任何 toolkit,
        呼叫 XmbDrawImageString 输出字串.

-- 
// Tim Wu <timwu@debian.linux.org.tw>

--
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.



Reply to: