From 4b2ca1d0b9346bf001f584f69a60c7b407f4c403 Mon Sep 17 00:00:00 2001 From: Olli Asikainen Date: Fri, 24 Apr 2020 16:27:11 +0300 Subject: [PATCH] fix ssd1306 roboto fonts --- extras/fonts/data/font_roboto_10pt.h | 8 ++++---- extras/fonts/data/font_roboto_8pt.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/extras/fonts/data/font_roboto_10pt.h b/extras/fonts/data/font_roboto_10pt.h index 2630543..685d86f 100644 --- a/extras/fonts/data/font_roboto_10pt.h +++ b/extras/fonts/data/font_roboto_10pt.h @@ -1619,10 +1619,10 @@ const font_char_desc_t _fonts_roboto_10pt_descriptors[] = // Font information for Roboto 10pt const font_info_t _fonts_roboto_10pt_info = { - .height = 14, // Character height - .c = '!', // Start character - .char_start = '~', // End character - .char_end = 2, // Width, in pixels, of space character + .height = 14, // Character height + .char_start = '!', // Start character + .char_end = '~', // End character + .c = 2, // Width, in pixels, of space character .char_descriptors = _fonts_roboto_10pt_descriptors, // Character descriptor array .bitmap = _fonts_roboto_10pt_bitmaps, // Character bitmap array }; diff --git a/extras/fonts/data/font_roboto_8pt.h b/extras/fonts/data/font_roboto_8pt.h index c67924e..7204f0e 100644 --- a/extras/fonts/data/font_roboto_8pt.h +++ b/extras/fonts/data/font_roboto_8pt.h @@ -1338,9 +1338,9 @@ const font_char_desc_t _fonts_roboto_8pt_descriptors[] = const font_info_t _fonts_roboto_8pt_info = { .height = 11, // Character height - .c = '!', // Start character - .char_start = '~', // End character - .char_end = 2, // Width, in pixels, of space character + .char_start = '!', // Start character + .char_end = '~', // End character + .c = 2, // Width, in pixels, of space character .char_descriptors = _fonts_roboto_8pt_descriptors, // Character descriptor array .bitmap = _fonts_roboto_8pt_bitmaps, // Character bitmap array };