-
FontGen2
点阵字体产生工具以及相关显示函数。
在开发嵌入式系统时,需要显示不同大小或类型字体的汉字。显然,对于嵌入式系统,不太可能使用矢量字体,而点阵字体,不同大小的字体不能简单的缩放。 另外,对一个小系统,也不需要完整的字体,往往只要几十个,甚至几个就够了。
一般,我们采用的方法是,自己准备点阵字体的数据,在显示汉字时,把这些数据写入显存就行了。 这时又存在另外一个问题,由于是不完整的字库,不能简单的用汉字的内码去找到对应的字体数据,如果逐个比较,又费时间。比较好的方法就是把字体数据排序,用二分法查找,这样可以大大提高查找效率。
这里为以上问题提供了一个完整的解决方案:
产生字体数据:指定字体类型、大小,自动产生字体数据。
字体数据排序:可以按Unicode,也可以按Ansi排序。
集成显示函数:提供相关显示函数。为了节省空间,我们把文字分成thin和wide两种,前者用于显示传统的ASCII字符集,后者用于显示汉字等多(双)字节字符
()
- 2020-06-30 09:20:02下载
- 积分:1
-
the-control-of-quadrotor
四旋翼飞控板程序,能够控制飞机平稳飞行,简洁易懂。(Four-rotor flight control board procedures, able to control the aircraft stable flight, easy to read.)
- 2013-08-21 18:31:18下载
- 积分:1
-
图像几何转换(平移缩放 金字塔)
- 2022-03-19 00:44:22下载
- 积分:1
-
数组的查找
数组的查找,输入一个随机数组,再输入你想查找的数,如果找到则显示。若没有,则输出没有找到。
- 2022-07-25 11:53:42下载
- 积分:1
-
STM32-bootloader
实现STM32的bootloader设计,参考代码,可以实现stm32串口bootloader(The bootloader achieve STM32 design, reference code, can achieve stm32 serial bootloader)
- 2016-06-26 10:29:34下载
- 积分:1
-
Qt 实现 Logger 日志
qt中调试bug, 但是程序运行的远程客户电脑上 , 这时候就急需一个好用的log程序帮助程序员定位bug位置
- 2022-02-03 04:43:41下载
- 积分:1
-
metal-detector
this metal detector full project (pulse induction)
- 2014-01-01 13:26:57下载
- 积分:1
-
DSP28335 Users Guide
很好的介绍了DSP28335的内部资源和寄存器的分配(Introduced the internal resources and register allocation of DSP28335 very well.)
- 2019-02-25 15:58:37下载
- 积分:1
-
12
Exercise 10: Pointers
1. Write a program that reads 5 integers into an array, and then uses four different methods of accessing the members of an array to print them out in reverse order(倒序).(Exercise 10: Pointers
1. Write a program that reads 5 integers into an array, and then uses four different methods of accessing the members of an array to print them out in reverse order)
- 2018-06-17 17:44:19下载
- 积分:1
-
Tcp client server communication through sockets
这个源代码演示了使用套接字在客户机和服务器之间进行TCP通信。
- 2023-04-04 11:05:04下载
- 积分:1