Firmware SDK
twr_font_common.h
1 
2 
3 #ifndef _TWR_FONT_COMMON
4 #define _TWR_FONT_COMMON
5 
6 #include <twr_common.h>
7 
8 typedef struct
9 {
10  const uint8_t *image;
11  uint8_t width;
12  uint8_t heigth;
14 
15 typedef struct {
16  uint16_t code;
17  const twr_font_image_t *image;
19 
20 typedef struct {
21  uint16_t length;
22  const twr_font_char_t *chars;
23 } twr_font_t;
24 
25 //
26 // Put another generated fonts here
27 //
28 extern const twr_font_t twr_font_ubuntu_11;
29 extern const twr_font_t twr_font_ubuntu_13;
30 extern const twr_font_t twr_font_ubuntu_15;
31 extern const twr_font_t twr_font_ubuntu_24;
32 extern const twr_font_t twr_font_ubuntu_28;
33 extern const twr_font_t twr_font_ubuntu_33;
34 
35 //_TWR_FONT_COMMON
36 #endif