BigW Consortium Gitlab

Commit ba093a8d by Ajay Bhargav

lv_misc: Add new font FONT_SYMBOL_60 of size 60px

New font added with similar symbol to that of symbol_30 but of double height. Signed-off-by: 's avatarAjay Bhargav <contact@rickeyworld.info>
parent 215da260
......@@ -17,6 +17,7 @@
#include "fonts/dejavu_60.h"
#include "fonts/dejavu_80.h"
#include "fonts/symbol_30.h"
#include "fonts/symbol_60.h"
/*********************
* DEFINES
......@@ -107,6 +108,11 @@ const font_t * font_get(font_types_t font_id)
font_p = symbol_30_get_dsc();
break;
#endif
#if USE_FONT_SYMBOL_60 != 0
case FONT_SYMBOL_60:
font_p = symbol_60_get_dsc();
break;
#endif
default:
font_p = NULL;
}
......
......@@ -50,6 +50,9 @@ typedef enum
#if USE_FONT_SYMBOL_30 != 0
FONT_SYMBOL_30,
#endif
#if USE_FONT_SYMBOL_60 != 0
FONT_SYMBOL_60,
#endif
FONT_TYPE_NUM,
}font_types_t;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef SYMBOL_60_H
#define SYMBOL_60_H
/*Use ISO8859-1 encoding in the IDE*/
#include "lv_conf.h"
#if USE_FONT_SYMBOL_60 != 0
#include <stdint.h>
#include "../font.h"
const font_t * symbol_60_get_dsc(void);
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment