如宋体:
1. 在Win下找到SURONG.TTF
2. 进入QNX,将上述文件拷到/usr/photon/font_repository目录下。
3. 在pterm上运行font_install安装字库。
4. 在pterm上运行fontadmin,新建一种字体,在选项里只要能看到Simsun就成功了。
QNX641:
参考文档:phfont 和 mkfontdir
以宋体为例:
1.拷贝字体文件SURSONG.TTF到目录/usr/photon/font_repository/下。
2.最好备份/usr/photon/font_repository/fontdir文件。
3.运行命令生成新的fontdir文件 #mkfontdir -i /usr/photon/font_repository/fontdir -d /usr/photon/font_repository
4.重启机器。
5.可使用#ped检验字体是否添加成功!