-
FontGen2
点阵字体产生工具以及相关显示函数。
在开发嵌入式系统时,需要显示不同大小或类型字体的汉字。显然,对于嵌入式系统,不太可能使用矢量字体,而点阵字体,不同大小的字体不能简单的缩放。 另外,对一个小系统,也不需要完整的字体,往往只要几十个,甚至几个就够了。
一般,我们采用的方法是,自己准备点阵字体的数据,在显示汉字时,把这些数据写入显存就行了。 这时又存在另外一个问题,由于是不完整的字库,不能简单的用汉字的内码去找到对应的字体数据,如果逐个比较,又费时间。比较好的方法就是把字体数据排序,用二分法查找,这样可以大大提高查找效率。
这里为以上问题提供了一个完整的解决方案:
产生字体数据:指定字体类型、大小,自动产生字体数据。
字体数据排序:可以按Unicode,也可以按Ansi排序。
集成显示函数:提供相关显示函数。为了节省空间,我们把文字分成thin和wide两种,前者用于显示传统的ASCII字符集,后者用于显示汉字等多(双)字节字符
()
- 2020-06-30 09:20:02下载
- 积分:1
-
Elevator-program
使用C51单片机开发的电梯源程序,单片机开发源程序(Use elevator source C51 MCU development, microcontroller development source)
- 2015-08-28 09:42:56下载
- 积分:1
-
PCF8563lcd1602
pcf8563 lcd1602 ds18b02 stc89c52rc对系统精确定时 报警 采集温度(pcf8563 lcd1602 ds18b02 stc89c52rc precise timing of the alarm system collected temperature)
- 2011-11-18 13:18:38下载
- 积分:1
-
AD0809
AD0809的功能启动,描述了如何启动AD0809的数模转换功能,并且在旁边加油注释(The AD0809 s function is activated, and describes how to start the AD0809 digital to analog conversion function, and next to the fuel comment)
- 2012-04-29 15:12:40下载
- 积分:1
-
STM32
说明: 采用4路红外对管进行循迹,电机控制小车运动。(Four infrared channels are used to track the tube, and the motor controls the motion of the car.)
- 2020-06-25 18:20:01下载
- 积分:1
-
f32_mulAdd
32位单精度浮点数的乘加运算的C编程,感兴趣的可以看一下(Single-precision floating-point multiply-add operation of the C programming, interested can look at)
- 2015-10-10 09:18:26下载
- 积分:1
-
cc
说明: 自动加料机控制系统 以单片机实现 用于毕业设计 (Automatic feeder control system the MCU for graduation design)
- 2012-11-08 08:39:33下载
- 积分:1
-
login
这个程序主要告诉我们如何制造一个登录窗口设计的静态文本框。(This program wants to tell us how to ligin a system,and,also tell us how to make a static text。This program wants to tell us how to ligin a system。)
- 2012-09-21 13:04:52下载
- 积分:1
-
SCM-papers-report
单片机论文报告 我的课程设计报告 供大家参考(SCM papers report my curriculum design report for your reference)
- 2013-09-10 19:33:25下载
- 积分:1
-
MINISTM32-SPI
STM32 SPI程序 感觉还不错 大家可以试试看(STM32 SPI program I feel pretty good we can give it a try)
- 2012-11-29 16:27:07下载
- 积分:1