作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (8): 20-22.

• 博士论文 • 上一篇    下一篇

CAPP 系统中动态创建TrueType 字体的研究

朱开玉,宋国辉,燕存良,李从心   

  1. 上海交通大学国家模具CAD 工程研究中心,上海 200030
  • 出版日期:2006-04-20 发布日期:2006-04-20

Research on Dynamic Creation of Truetype Font in CAPP System

ZHU Kaiyu, SONG Guohui, YAN Cunliang, LI Congxin   

  1. National Die CAD Engineering Research Center, Shanghai Jiaotong University, Shanghai 200030
  • Online:2006-04-20 Published:2006-04-20

摘要: 在CAPP 系统的二次开发中,特殊符号(粗糙度及公差等)的输入输出问题一直是个难题,一般采用Windows 自带的造字程序将所有特殊符号生成TrueType 字体,然后用区位输入法输入处理。这种方法的弊端在于字体是静态生成的,字形及数量不可扩展,使用人员不能任意输入,而采用动态生成TrueType 的方式可以生成任意字符且不受数量的限制,因而从根本上解决了特殊符号的处理问题。文章在分析了TrueType 字体文件格式的基础上,给出了动态创建TrueType 字体的解决方案及在CAPP 系统中的应用实例。

关键词: 动态创建;TrueType 字体;CAPP

Abstract: In the redevelopment of CAPP system, the in-out of special symbols, such as roughness and tolerance, are usually be dealt troublesomely with the character editor program in Windows OS, which create the needed TrueType fonts in advance and statically. It’s unextendable and unflexible limit prevents the popularization of CAPP system. Based on the analysis the file format of TrueType font, the article presents the solution and instantiation of dynamic creation of TrueType font in CAPP system.

Key words: Dynamic creation; TrueType font; CAPP