计算机工程与应用 ›› 2018, Vol. 54 ›› Issue (12): 46-50.DOI: 10.3778/j.issn.1002-8331.1704-0397

• 理论与研发 • 上一篇    下一篇

支持构件复用的方块苗文字库开发方法

莫礼平,周恺卿   

  1. 吉首大学 信息科学与工程学院,湖南 吉首 416000
  • 出版日期:2018-06-15 发布日期:2018-07-03

Development method of square-Hmong-characters font library for supporting component reuse

MO Liping, ZHOU Kaiqing   

  1. College of Information Science & Engineering, Ji Shou University, Jishou, Hunan 416000, China
  • Online:2018-06-15 Published:2018-07-03

摘要: 为了减少字库中的数据存储量,在采用确定有穷自动机建立由构件组合变换得到方块苗文的字形映射关系的基础上,提出了一种支持构件复用的方块苗文字库开发方法,给出了基于该方法的方块苗文字库的具体开发过程。该方法根据字形映射关系,利用OpenType特征标签来设计反应构件自由组合替换规则和置位规则的特征脚本,以实现同一构件字形在不同方块苗文中的重复使用。测试结果表明,利用该方法开发的方块苗文字库具有存储量小、易扩充等优点,能够实现方块苗文同汉字、英文的混合显示,达到了实用性要求。

关键词: 方块苗文, 字库, 构件复用, OpenType技术, 确定有穷自动机, 特征脚本

Abstract: In order to reduce the data storage of font library, on the basis of using deterministic finite automata to establish the glyph mapping relationships of square Hmong characters obtained by component transformations, a development method of the square-Hmong-characters font library, which supports component reuse, is proposed. The concrete development process of the square-Hmong-characters font library based on this method is given. According to the glyph mapping relationships, the proposed method uses the OpenType feature tags to design feature scripts, which reflect the substitution rules and positioning rules for free combination of components, so as to realize the reuse of same component glyph in different square Hmong characters. The test result shows that the font library developed by the proposed method has the advantages of small storage capacity, easy expansion and so on, and can realize the mixed display of the Hmong, Chinese and English, and can meet practical requirements.

Key words: square Hmong characters, font library, component reuse, OpenType technology, deterministic finite automata, feature scripts