摘要
嵌入式系统下的汉字显示一直是软件开发的难点,由于一般只支持点阵汉字,并支持矢量汉字,已经不能满足综合模块化航电架构下大屏显示和触摸控制的要求。文章通过分析基于贝塞尔曲线显示矢量汉字的原理,综合比较选择插值补偿系数,结合具体实例进行了测试验证。结果表明,采用该方法能够实现包括宋体、黑体等各种字体和字号的高质量显示,对汉字旋转、缩放变换后显示效果不失真,满足了大屏触控模式下对汉字缩放的显示要求。
The display of Chinese characters in embedded system has always been a difficult point in software development.Because it generally only supports dot matrix Chinese characters and vector Chinese characters,it can no longer meet the requirements of large-screen display and touch control under the integrated modular avionics architecture.In this paper,the principle of displaying vector Chinese characters based on Bezier curve is analyzed,and the interpolation compensation coefficient is comprehensively compared and selected.Combined with specific examples,the results show that this method can realize high-quality display of various fonts and font sizes,including Song Ti and Bold,and the display effect is not distorted after Chinese characters are rotated and scaled,which meets the display requirements of Chinese characters in large-screen touch mode.
作者
张晓明
Zhang Xiaoming(AVIC Xi’an Aircraft Insdustry Group Co.,Ltd.,Xi’an 710089,China)
出处
《无线互联科技》
2023年第17期131-134,共4页
Wireless Internet Technology
关键词
嵌入式系统
点阵汉字
矢量汉字
贝塞尔曲线
汉字轮廓
embedded system
dot matrix Chinese characters
vector Chinese characters
bessel curve
Chinese character outline