fix ssd1306 roboto fonts

This commit is contained in:
Olli Asikainen 2020-04-24 16:27:11 +03:00
parent bc979883c2
commit 4b2ca1d0b9
2 changed files with 7 additions and 7 deletions

View file

@ -1619,10 +1619,10 @@ const font_char_desc_t _fonts_roboto_10pt_descriptors[] =
// Font information for Roboto 10pt // Font information for Roboto 10pt
const font_info_t _fonts_roboto_10pt_info = const font_info_t _fonts_roboto_10pt_info =
{ {
.height = 14, // Character height .height = 14, // Character height
.c = '!', // Start character .char_start = '!', // Start character
.char_start = '~', // End character .char_end = '~', // End character
.char_end = 2, // Width, in pixels, of space character .c = 2, // Width, in pixels, of space character
.char_descriptors = _fonts_roboto_10pt_descriptors, // Character descriptor array .char_descriptors = _fonts_roboto_10pt_descriptors, // Character descriptor array
.bitmap = _fonts_roboto_10pt_bitmaps, // Character bitmap array .bitmap = _fonts_roboto_10pt_bitmaps, // Character bitmap array
}; };

View file

@ -1338,9 +1338,9 @@ const font_char_desc_t _fonts_roboto_8pt_descriptors[] =
const font_info_t _fonts_roboto_8pt_info = const font_info_t _fonts_roboto_8pt_info =
{ {
.height = 11, // Character height .height = 11, // Character height
.c = '!', // Start character .char_start = '!', // Start character
.char_start = '~', // End character .char_end = '~', // End character
.char_end = 2, // Width, in pixels, of space character .c = 2, // Width, in pixels, of space character
.char_descriptors = _fonts_roboto_8pt_descriptors, // Character descriptor array .char_descriptors = _fonts_roboto_8pt_descriptors, // Character descriptor array
.bitmap = _fonts_roboto_8pt_bitmaps, // Character bitmap array .bitmap = _fonts_roboto_8pt_bitmaps, // Character bitmap array
}; };