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

计算机工程 ›› 2010, Vol. 36 ›› Issue (7): 257-259. doi: 10.3969/j.issn.1000-3428.2010.07.088

• 开发研究与设计技术 • 上一篇    下一篇

嵌入式系统中的TrueType字体驱动

陈文文,奚宏生   

  1. (中国科技大学网络传播系统与控制联合实验室,合肥 230026)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-04-05 发布日期:2010-04-05

TrueType Fonts Drive in Embedded System

CHEN Wen-wen, XI Hong-sheng   

  1. (Joint Lab of Network Communication System & Control, University of Science and Technology of China, Hefei 230026)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-04-05 Published:2010-04-05

摘要: Freetype库应用于嵌入式高清电影播放机时,存在srt字幕显示滞后的问题。针对该缺陷,给出一种实现TrueType字体驱动的方法,建立字体本地索引,将TrueType字体文件中必要的数据导入内存,建立字体glyf内存数据库。测试表明,该驱动稳定可靠,适用于资源受限的嵌入式平台。

关键词: 嵌入式系统, TrueType字体, 驱动, Freetype库

Abstract: If the Freetype libraries are used in the embedded high-definition movie player, the srt subtitle has a problem of lag. This paper presents a method to realize the TrueType fonts drive, establishes the local indexes for the fonts, and puts all the necessary data of TrueType fonts file into memory to found the glyf memory fonts database. Test shows that the developed drive is stable and reliable and is ideal for the resource-constrained embedded platform.

Key words: embedded system, TrueType fonts, drive, Freetype libraries

中图分类号: