Merge pull request #747 from 0x0aa/fix-ssd1306-roboto-fonts

fix ssd1306 roboto fonts
This commit is contained in:
Ruslan V. Uss 2020-06-19 16:47:44 +05:00 committed by GitHub
commit 48e4132996
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
}; };