当前位置>主页 > 期刊在线 > 信息技术 >

信息技术2019年17期

字体文件定制及软件的设计
闫文奇
(中船重工第七一六研究所,江苏 连云港 222007)

摘  要:嵌入式设备上常用的有两种类型的字体:点阵型字体和TrueType 类型字体。点阵字体很难进行缩放,否则会失真,而TrueType 文件并不存在这个问题。但因TrueType 字体文件较大,并不能直接使用在嵌入式系统中。因此,在使用TrueType 字体前须对其进行适当的定制,只选取用到的字符,这样可以使字体文件的大小减小很多,更适合使用在嵌入式系 统上。


关键词:嵌入式设备;字体文件;TrueType;造字程序



中图分类号:TP311.1         文献标识码:A         文章编号:2096-4706(2019)17-0005-04


Font Customization and Software Design

YAN Wenqi

(China Shipping Heavy Industry 716 Research Institute,Lianyungang 222007,China)

Abstract:Two type of fonts are used most on embedded device,the lattice and the TrueType font. It is almost impossible to resize the lattice or distortion will occur while there’s no the same problem on TrueType font. However,the full size TrueType font are usually too big to be used on embedded device directly. Therefore,TrueType fonts should be customized properly before using them,and only the characters used should be selected,which can reduce the size of font files a lot and make them more suitable for use in embedded systems.

Keywords:embedded device;font file;TrueType;font program


参考文献:

[1] 吕强,史磊,杨季文.TrueType 字体文件格式初探 [J].计算机研究与发展,1995(11):23-31+60.

[2] TrueType 1.0 Font Files,Technical Specification(Revision1.66) [Z].Microsoft Corporation,1995.

[3] 孙鑫.VC++ 深入详解(修订版) [M]. 北京:电子工业出版社,2012.


作者简介:闫文奇(1988.10-),男,汉族,江苏赣榆人,工程师,硕士,研究方向:控制器软件开发。