高级检索
张骥先, 罗蕾, 姜帆. 一种移动终端笔画字体存储结构及轮廓化算法[J]. 计算机辅助设计与图形学学报, 2010, 22(12): 2125-2132.
引用本文: 张骥先, 罗蕾, 姜帆. 一种移动终端笔画字体存储结构及轮廓化算法[J]. 计算机辅助设计与图形学学报, 2010, 22(12): 2125-2132.
Zhang Jixian, Luo Lei, Jiang Fan. A Stroke Based Font Structure and an Outline Algorithm for Mobile Devices[J]. Journal of Computer-Aided Design & Computer Graphics, 2010, 22(12): 2125-2132.
Citation: Zhang Jixian, Luo Lei, Jiang Fan. A Stroke Based Font Structure and an Outline Algorithm for Mobile Devices[J]. Journal of Computer-Aided Design & Computer Graphics, 2010, 22(12): 2125-2132.

一种移动终端笔画字体存储结构及轮廓化算法

A Stroke Based Font Structure and an Outline Algorithm for Mobile Devices

  • 摘要: 针对移动终端的特点,结合汉字组件技术以及矢量笔画字体提出一种字库存储结构,并针对笔画字体提出一种轮廓化算法.在字库中将汉字信息分为索引、汉字结构信息、汉字组件矢量数据信息3个部分来存储,具有占用空间小、合成速度快的优点,解决了以往汉字组件字体失真的问题.轮廓化算法根据笔画线段信息,只需遍历一次就可完成多边形轮廓的确定,且其中优化了生成的多边形顶点数量,考虑了遍历过程中的异常情况,降低了渲染负担.该算法也可经过少许改动成为通用的描边算法.在移动终端上进行实验的结果表明,使用该字库及相应轮廓化算法取得了良好的效果.

     

    Abstract: According to the features of mobile devices, a font structure and an outline algorithm for stroke font are proposed.The font structure based on stroke font and Chinese character components contains the index, structure and components vector information of characters, has advantages of small font ROM size and fast speed of character synthesis.It also solves the distortion problem in former researches.The algorithm can confirm the outline of polygon by only once traversal according to the stroke segments and optimize the vertices number of the generated polygon.On the other hand the algorithm considers the abnormal conditions during traversing process and reduces the burden of rendering.The algorithm can also become a common stroke algorithm by a little changes.The final simulation tests show good results in mobile devices.

     

/

返回文章
返回