Merge pull request #747 from 0x0aa/fix-ssd1306-roboto-fonts
fix ssd1306 roboto fonts
This commit is contained in:
commit
48e4132996
2 changed files with 7 additions and 7 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue