计算机与现代化

• 数据库与数据挖掘 • 上一篇    下一篇

基于GB2312标准的GL Studio汉化技术

  

  1. (1.海军航空大学青岛校区,山东青岛266041;2.中国海洋大学信息科学与工程学院,山东青岛266100)
  • 收稿日期:2019-04-24 出版日期:2020-02-13 发布日期:2020-02-13
  • 作者简介:王志乐(1983-),男,江苏兴化人,副教授,硕士,研究方向:军用仿真技术,E-mail: wgzhile@163.com; 董军宇(1972-),男,黑龙江哈尔滨人,教授,博士生导师,研究方向:计算机视觉。
  • 基金资助:
    国家自然科学基金资助项目(41576011); 国际科技合作重点项目(2014DFA10410); 海军航空大学青岛校区科研基金资助项目(I3194026)

GL Studio Chinese Technology Based on GB2312 Standard

  1. (1. Naval Aeronautical University Qingdao Branch, Qingdao 266041, China;
    2. College of Information Science and Engineering, Ocean University of China, Qingdao 266100, China)
  • Received:2019-04-24 Online:2020-02-13 Published:2020-02-13

摘要: 针对GL Studio开发的仪表显示软件一直不支持汉字显示的问题,利用纹理技术建立GB2312标准的一级汉字纹理字库,在GL Studio环境下建立与纹理字库一一对应的字库表和基本的汉字显示单元,抽象汉字的存储显示数据模型。以机载MFD显示软件为例,根据输入MFD的汉字查找对应的国标编码和汉字在字库表的坐标,以基本汉字显示单元为基础建立汉字动态控制模型与汉字显示模型,在GL Studio环境下实现机载MFD仿真软件的开发。实验表明,该方法快速有效,扩展性和重构性好,既可以用于实装开发也可以用于仿真模拟器的开发。

关键词: GL Studio, MFD, 汉字显示, 动态显示

Abstract: Aiming at the problem that the instrument display software developed by GL Studio has not supported Chinese character display, the texture technology is used to establish the first-level Chinese character texture font of GB2312 standard, and the font library corresponding to the texture font library and the basic Chinese character display unit are established in GL Studio environment. The storage of abstract Chinese characters shows the data model. Taking the airborne MFD display software as an example, according to the Chinese characters of the input MFD, the corresponding national standard code and the coordinates of the Chinese characters in the font table are searched, and the Chinese character dynamic control model and the Chinese character display model are established based on the basic Chinese character display unit. The development of airborne MFD simulation software is realized in the GL Studio environment. The experiment shows that the method is fast, effective, scalable and reconfigurable, and can be used not only in the development of real equipment, but also in the development of simulation simulator.

Key words: GL Studio, MFD, Chinese character display, dynamic display

中图分类号: