add fonts in 32..48px range
This commit is contained in:
@@ -339,6 +339,14 @@ typedef void * lv_indev_drv_user_data_t; /*Type of user data in the i
|
||||
#define LV_FONT_MONTSERRAT_28 0
|
||||
#define LV_FONT_MONTSERRAT_30 0
|
||||
#define LV_FONT_MONTSERRAT_32 0
|
||||
#define LV_FONT_MONTSERRAT_34 0
|
||||
#define LV_FONT_MONTSERRAT_36 0
|
||||
#define LV_FONT_MONTSERRAT_38 0
|
||||
#define LV_FONT_MONTSERRAT_40 0
|
||||
#define LV_FONT_MONTSERRAT_42 0
|
||||
#define LV_FONT_MONTSERRAT_44 0
|
||||
#define LV_FONT_MONTSERRAT_46 0
|
||||
#define LV_FONT_MONTSERRAT_48 0
|
||||
|
||||
/* Demonstrate special features */
|
||||
#define LV_FONT_MONTSERRAT_12_SUBPX 0
|
||||
|
||||
@@ -44,6 +44,38 @@ print("\nGenerating 32 px")
|
||||
os.system("python built_in_font_gen.py --size 32 -o lv_font_montserrat_32.c --bpp 4")
|
||||
os.system('sed -i \'s|#include "lvgl/lvgl.h"|#include "../../lvgl.h"|\' lv_font_montserrat_32.c')
|
||||
|
||||
print("\nGenerating 34 px")
|
||||
os.system("python built_in_font_gen.py --size 34 -o lv_font_montserrat_34.c --bpp 4")
|
||||
os.system('sed -i \'s|#include "lvgl/lvgl.h"|#include "../../lvgl.h"|\' lv_font_montserrat_34.c')
|
||||
|
||||
print("\nGenerating 36 px")
|
||||
os.system("python built_in_font_gen.py --size 36 -o lv_font_montserrat_36.c --bpp 4")
|
||||
os.system('sed -i \'s|#include "lvgl/lvgl.h"|#include "../../lvgl.h"|\' lv_font_montserrat_36.c')
|
||||
|
||||
print("\nGenerating 38 px")
|
||||
os.system("python built_in_font_gen.py --size 38 -o lv_font_montserrat_38.c --bpp 4")
|
||||
os.system('sed -i \'s|#include "lvgl/lvgl.h"|#include "../../lvgl.h"|\' lv_font_montserrat_38.c')
|
||||
|
||||
print("\nGenerating 40 px")
|
||||
os.system("python built_in_font_gen.py --size 40 -o lv_font_montserrat_40.c --bpp 4")
|
||||
os.system('sed -i \'s|#include "lvgl/lvgl.h"|#include "../../lvgl.h"|\' lv_font_montserrat_40.c')
|
||||
|
||||
print("\nGenerating 42 px")
|
||||
os.system("python built_in_font_gen.py --size 42 -o lv_font_montserrat_42.c --bpp 4")
|
||||
os.system('sed -i \'s|#include "lvgl/lvgl.h"|#include "../../lvgl.h"|\' lv_font_montserrat_42.c')
|
||||
|
||||
print("\nGenerating 44 px")
|
||||
os.system("python built_in_font_gen.py --size 44 -o lv_font_montserrat_44.c --bpp 4")
|
||||
os.system('sed -i \'s|#include "lvgl/lvgl.h"|#include "../../lvgl.h"|\' lv_font_montserrat_44.c')
|
||||
|
||||
print("\nGenerating 46 px")
|
||||
os.system("python built_in_font_gen.py --size 46 -o lv_font_montserrat_46.c --bpp 4")
|
||||
os.system('sed -i \'s|#include "lvgl/lvgl.h"|#include "../../lvgl.h"|\' lv_font_montserrat_46.c')
|
||||
|
||||
print("\nGenerating 48 px")
|
||||
os.system("python built_in_font_gen.py --size 48 -o lv_font_montserrat_48.c --bpp 4")
|
||||
os.system('sed -i \'s|#include "lvgl/lvgl.h"|#include "../../lvgl.h"|\' lv_font_montserrat_48.c')
|
||||
|
||||
print("\nGenerating 12 px subpx")
|
||||
os.system("python built_in_font_gen.py --size 12 -o lv_font_montserrat_12_subpx.c --bpp 4 --subpx")
|
||||
os.system('sed -i \'s|#include "lvgl/lvgl.h"|#include "../../lvgl.h"|\' lv_font_montserrat_12_subpx.c')
|
||||
|
||||
@@ -493,6 +493,30 @@
|
||||
#ifndef LV_FONT_MONTSERRAT_32
|
||||
#define LV_FONT_MONTSERRAT_32 0
|
||||
#endif
|
||||
#ifndef LV_FONT_MONTSERRAT_34
|
||||
#define LV_FONT_MONTSERRAT_34 0
|
||||
#endif
|
||||
#ifndef LV_FONT_MONTSERRAT_36
|
||||
#define LV_FONT_MONTSERRAT_36 0
|
||||
#endif
|
||||
#ifndef LV_FONT_MONTSERRAT_38
|
||||
#define LV_FONT_MONTSERRAT_38 0
|
||||
#endif
|
||||
#ifndef LV_FONT_MONTSERRAT_40
|
||||
#define LV_FONT_MONTSERRAT_40 0
|
||||
#endif
|
||||
#ifndef LV_FONT_MONTSERRAT_42
|
||||
#define LV_FONT_MONTSERRAT_42 0
|
||||
#endif
|
||||
#ifndef LV_FONT_MONTSERRAT_44
|
||||
#define LV_FONT_MONTSERRAT_44 0
|
||||
#endif
|
||||
#ifndef LV_FONT_MONTSERRAT_46
|
||||
#define LV_FONT_MONTSERRAT_46 0
|
||||
#endif
|
||||
#ifndef LV_FONT_MONTSERRAT_48
|
||||
#define LV_FONT_MONTSERRAT_48 0
|
||||
#endif
|
||||
|
||||
/* Demonstrate special features */
|
||||
#ifndef LV_FONT_MONTSERRAT_12_SUBPX
|
||||
|
||||
6834
src/lv_font/lv_font_montserrat_34.c
Normal file
6834
src/lv_font/lv_font_montserrat_34.c
Normal file
File diff suppressed because it is too large
Load Diff
7461
src/lv_font/lv_font_montserrat_36.c
Normal file
7461
src/lv_font/lv_font_montserrat_36.c
Normal file
File diff suppressed because it is too large
Load Diff
8184
src/lv_font/lv_font_montserrat_38.c
Normal file
8184
src/lv_font/lv_font_montserrat_38.c
Normal file
File diff suppressed because it is too large
Load Diff
9016
src/lv_font/lv_font_montserrat_40.c
Normal file
9016
src/lv_font/lv_font_montserrat_40.c
Normal file
File diff suppressed because it is too large
Load Diff
9834
src/lv_font/lv_font_montserrat_42.c
Normal file
9834
src/lv_font/lv_font_montserrat_42.c
Normal file
File diff suppressed because it is too large
Load Diff
10634
src/lv_font/lv_font_montserrat_44.c
Normal file
10634
src/lv_font/lv_font_montserrat_44.c
Normal file
File diff suppressed because it is too large
Load Diff
11563
src/lv_font/lv_font_montserrat_46.c
Normal file
11563
src/lv_font/lv_font_montserrat_46.c
Normal file
File diff suppressed because it is too large
Load Diff
12245
src/lv_font/lv_font_montserrat_48.c
Normal file
12245
src/lv_font/lv_font_montserrat_48.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user