Chinaunix首页 | 论坛 | 博客
  • 博客访问: 307752
  • 博文数量: 720
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 8080
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-17 23:09
文章分类

全部博文(720)

文章存档

2010年(720)

我的朋友

分类:

2010-11-05 07:21:13

  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请收藏或告诉您的好朋友.
阅读(149) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~