Replaces proprietary fonts
This commit is contained in:
parent
579023e3f5
commit
7c348f3ca1
4 changed files with 2969 additions and 5 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
PROGRAM=SSD1306_fps
|
PROGRAM=SSD1306_fps
|
||||||
EXTRA_COMPONENTS = extras/ssd1306 extras/i2c extras/fonts
|
EXTRA_COMPONENTS = extras/ssd1306 extras/i2c extras/fonts
|
||||||
include ../../common.mk
|
include ../../common.mk
|
||||||
|
|
|
||||||
1623
extras/fonts/font_roboto_10.c
Normal file
1623
extras/fonts/font_roboto_10.c
Normal file
File diff suppressed because it is too large
Load diff
1341
extras/fonts/font_roboto_8.c
Normal file
1341
extras/fonts/font_roboto_8.c
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -7,12 +7,12 @@
|
||||||
#include "fonts.h"
|
#include "fonts.h"
|
||||||
|
|
||||||
extern const font_info_t glcd_5x7_font_info;
|
extern const font_info_t glcd_5x7_font_info;
|
||||||
extern const font_info_t tahoma_8pt_font_info;
|
extern const font_info_t roboto_8ptFontInfo;
|
||||||
extern const font_info_t tahoma_16ptFontInfo;
|
extern const font_info_t roboto_10ptFontInfo;
|
||||||
|
|
||||||
const font_info_t* fonts[NUM_FONTS] =
|
const font_info_t* fonts[NUM_FONTS] =
|
||||||
{
|
{
|
||||||
&glcd_5x7_font_info,
|
&glcd_5x7_font_info,
|
||||||
&tahoma_8pt_font_info,
|
&roboto_8ptFontInfo,
|
||||||
&tahoma_16ptFontInfo,
|
&roboto_10ptFontInfo,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue