资源简介

本地littlevgl汉字生成工具,含测试代码。不用官方的在线工具了,在线有时候速度不是太好,测试代码必须是UTF-8编码格式。

资源截图

代码片段和文件信息

/*
*---------------------------------------------------------------
*                        Lvgl Font Tool                         
*                                                               
* 注:使用 UTF-8 编码                                  
* 注:本字体文件由Lvgl Font Tool V0.1 生成 作者:阿里(qq:617622104)                     
* 示例代码编写:简单就好(qq:906504006)
* 测试环境pc_simulator     
* 测试方法:
* 1. 将本文件放入 lvgl\lv_fonts
* 2. 修改 lv_fonts.mk 将本文件添加进去
* 3. 添加头文件声明 void lv_chinese_fonts1(void); 或者在 mian 函数中直接声明
* 4. 在mian 函数中调用测试是函数。
                                   
*---------------------------------------------------------------
*/


#include “../lv_misc/lv_font.h“


static const uint8_t glyph_bitmap[] = 
{
/*   */
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....


/* ! */
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x0a0xfa0x00  //.%@%.
0x0a0xfa0x00  //.%@%.
0x080xc80x00  //.+%+.
0x080xc80x00  //.+%+.
0x080xc80x00  //.+%+.
0x080xc80x00  //.+%+.
0x080xc80x00  //.+%+.
0x080xc80x00  //.+%+.
0x000x000x00  //.....
0x000x000x00  //.....
0x0a0xfa0x00  //.%@%.
0x0a0xfa0x00  //.%@%.
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....
0x000x000x00  //.....


/* “ */
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x0a0xfa0xec0x00  //.%@%@%.
0x080xc80xea0x00  //.+%+@%.
0x080xc80xea0x00  //.+%+@%.
0x050xc80xc80x00  //.+%+%+.
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......
0x000x000x000x00  //.......


/* # */
0x000x000x000x000x00  //..........
0x000x000x000x000x00  //..........
0x000x000x000x000x00  //..........
0x000x000x000x000x00  //..........
0x000x000x000x000x00  //..........
0x000x080xc50x5c0x80  //...+%++%+.
0x000x0a0xe30x8c0x50  //...%@.+%+.
0x000x0c0xc00xae0x00  //...%%.%@..
0x5e0xff0xff0xff0xfc  //+@@@@@@@@%
0x000x5c0x830xea0x00  //..+%+.@%..
0x000x8c0x550xc80x00  //..+%

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     120334  2015-12-29 06:25  LvglFontTool\libgcc_s_dw2-1.dll

     文件    1540622  2015-12-29 06:25  LvglFontTool\libstdc++-6.dll

     文件      79360  2015-12-29 06:25  LvglFontTool\libwinpthread-1.dll

     文件      90112  2018-06-29 12:53  LvglFontTool\LvglFontTool.exe

     文件      31232  2017-01-19 04:59  LvglFontTool\platforms\qminimal.dll

     文件     932352  2017-01-19 04:59  LvglFontTool\platforms\qoffscreen.dll

     文件    1735680  2017-01-19 05:01  LvglFontTool\platforms\qwindows.dll

     文件    5421056  2017-12-28 17:44  LvglFontTool\Qt5Core.dll

     文件    5307392  2017-01-19 04:50  LvglFontTool\Qt5Gui.dll

     文件    6350848  2017-01-19 04:56  LvglFontTool\Qt5Widgets.dll

     目录          0  2018-06-29 12:59  LvglFontTool\platforms

     目录          0  2018-06-29 12:59  LvglFontTool

     文件      99560  2019-01-09 11:33  Chinese.c

----------- ---------  ---------- -----  ----

             21708548                    13


评论

共有 条评论