uiq3.0 sdk最终版模拟器中文的显示 - symbian

182阅读 0评论2010-11-05 ygysg520
分类:

  1. 备份sdk安装目录下的"epoc32releasewinscwudebzresourcefonts"目录及该目录下所有文件,随后删除该目录下所有文件   2. 拷贝windows中的“仿宋体”字体文件到1.中的字体目录中。我用的是windows 2000 professional edition sp4,因此拷贝了"c:winntfontssimfang.ttf"   3. 修改sdk安装目录下的"examplesuiqqhelloworld"示例程序, // helloworldview.cpp ... #include // for ceiklabel ... void chelloworldview::viewconstructl() { // loads information about the ui configurations this view supports // together with definition of each view. viewconstructfromresourcel(r_helloworld_ui_configurations);    ceiklabel* label = locatecontrolbyuniquehandle(ehelloworldlabelctrl); _lit(ktest, "testu6211"); // 6211是“我”字的16进制unicode值 label->settextl(ktest); } ...   4. build修改后的示例程序 bldmake bldfiles abld build winscw udeb   5. 启动仿真器后打开helloworld程序即可看到屏幕中间的lable控件上显示着字符串"test我"。   如果楼主替换了字体文件后仍无法在自己的程序中显示中文,则有可能是你的程序有问题,具体问题具体分析吧。 如果喜欢uiq3.0 sdk最终版模拟器中文的显示 - symbian请收藏或告诉您的好朋友.
上一篇: linux手机基本特点 - linux手机
下一篇: 蚝油炒草菇