Нарисовал шрифт 6х10, но вылезли глюки в марлине, судя по всему. В меню стрелочки напротив пунктов рисуются внутри букв прямо
Вложение:
Комментарий к файлу: 6х9 выглядит прилично
LUqII9OuNqA.jpg [ 45.13 КиБ | Просмотров: 4156 ]
Вложение:
Комментарий к файлу: а вот с 6х10 такая вот порнография
J8awBEs0wOg.jpg [ 38.08 КиБ | Просмотров: 4158 ]
еще пара проблем есть, но решаемые - русский перевод местами отвратителен, местами просто технически устарел - например до определенной версии в марлине надо было ставить вручную двоеточия напротив меняемых параметров, те же стрелочки и все такое. Позже код стал сам об этом заботиться, но в переводе всё так и осталось с двоеточиями и кодами символов в тексте. Вычищать и переводить я не буду, если кто возьмется - будет класс.
Добавлено спустя 7 минут 41 секунду:собственно решение:
файл dogm_font_data_marlin.h
Код:
/*
Fontname: u8g_font_6x9_marlin_rus
Copyright: Share and enjoy.
Special chars: degree = \xС0
Capital A Height: 6, '1' Height: 6
Calculated Max Values w= 6 h= 9 x= 2 y= 7 dx= 6 dy= 0 ascent= 7 len= 9
Font Bounding box w= 6 h= 9 x= 0 y=-2
Calculated Min Values x= 0 y=-2 dx= 0 dy= 0
Pure Font ascent = 6 descent=-2
X Font ascent = 6 descent=-2
Max Font ascent = 7 descent=-2
*/
#include <utility/u8g.h>
const u8g_fntpgm_uint8_t u8g_font_6x9[2234] U8G_SECTION(".progmem.u8g_font_6x9") = {
0,7,8,0,254,6,1,137,2,254,32,255,254,7,254,6,
254,0,0,0,1,0,0,1,6,6,2,0,0,128,128,128,
128,0,128,3,3,3,4,0,3,160,160,160,5,7,7,6,
0,255,80,80,248,80,248,80,80,5,9,9,6,0,254,32,
112,168,160,112,40,168,112,32,6,8,8,7,0,255,64,168,
72,16,32,72,84,8,5,7,7,6,0,255,96,144,144,96,
152,144,104,1,3,3,2,0,3,128,128,128,2,7,7,3,
0,255,64,128,128,128,128,128,64,2,7,7,3,0,255,128,
64,64,64,64,64,128,5,5,5,6,0,0,136,80,248,80,
136,5,5,5,6,0,0,32,32,248,32,32,2,4,4,3,
0,254,192,64,64,128,5,1,1,6,0,2,248,2,2,2,
3,0,0,192,192,4,6,6,5,0,0,16,16,32,64,128,
128,4,6,6,5,0,0,96,144,144,144,144,96,3,6,6,
4,0,0,64,192,64,64,64,224,4,6,6,5,0,0,96,
144,16,32,64,240,4,6,6,5,0,0,240,32,96,16,16,
224,5,6,6,6,0,0,16,48,80,144,248,16,4,6,6,
5,0,0,240,128,224,16,16,224,4,6,6,5,0,0,96,
128,224,144,144,96,4,6,6,5,0,0,240,16,16,32,64,
64,4,6,6,5,0,0,96,144,96,144,144,96,4,6,6,
5,0,0,96,144,144,112,16,96,2,5,5,3,0,0,192,
192,0,192,192,2,7,7,3,0,254,192,192,0,192,64,64,
128,5,5,5,6,0,0,24,96,128,96,24,5,3,3,6,
0,1,248,0,248,5,5,5,6,0,0,192,48,8,48,192,
4,7,7,5,0,0,96,144,16,96,64,0,64,5,6,6,
6,0,0,112,144,168,176,128,112,5,6,6,6,0,0,32,
80,136,248,136,136,5,6,6,6,0,0,240,136,240,136,136,
240,4,6,6,5,0,0,96,144,128,128,144,96,4,6,6,
5,0,0,224,144,144,144,144,224,4,6,6,5,0,0,240,
128,224,128,128,240,4,6,6,5,0,0,240,128,224,128,128,
128,4,6,6,5,0,0,96,144,128,176,144,96,4,6,6,
5,0,0,144,144,240,144,144,144,3,6,6,4,0,0,224,
64,64,64,64,224,5,6,6,6,0,0,56,16,16,16,144,
96,4,6,6,5,0,0,144,160,192,160,144,144,4,6,6,
5,0,0,128,128,128,128,128,240,5,6,6,6,0,0,136,
216,168,168,136,136,4,6,6,5,0,0,144,208,176,144,144,
144,5,6,6,6,0,0,112,136,136,136,136,112,4,6,6,
5,0,0,224,144,144,224,128,128,4,7,7,5,0,255,96,
144,144,208,176,96,16,4,6,6,5,0,0,224,144,144,224,
144,144,4,6,6,5,0,0,96,144,64,32,144,96,5,6,
6,6,0,0,248,32,32,32,32,32,4,6,6,5,0,0,
144,144,144,144,144,96,4,6,6,5,0,0,144,144,144,240,
96,96,5,6,6,6,0,0,136,136,168,168,216,136,5,6,
6,6,0,0,136,80,32,32,80,136,5,6,6,6,0,0,
136,136,80,32,32,32,4,6,6,5,0,0,240,16,32,64,
128,240,3,6,6,4,0,0,224,128,128,128,128,224,4,6,
6,5,0,0,128,128,64,32,16,16,3,6,6,4,0,0,
224,32,32,32,32,224,5,3,3,6,0,3,32,80,136,5,
1,1,6,0,254,248,2,2,2,3,0,4,128,64,4,4,
4,5,0,0,112,144,144,112,4,6,6,5,0,0,128,128,
224,144,144,224,4,4,4,5,0,0,112,128,128,112,4,6,
6,5,0,0,16,16,112,144,144,112,4,4,4,5,0,0,
96,176,192,112,4,6,6,5,0,0,32,80,64,224,64,64,
4,6,6,5,0,254,96,144,144,112,16,96,4,6,6,5,
0,0,128,128,224,144,144,144,3,6,6,4,0,0,64,0,
192,64,64,224,3,8,8,4,0,254,32,0,96,32,32,32,
160,64,4,6,6,5,0,0,128,128,160,192,160,144,3,6,
6,4,0,0,192,64,64,64,64,224,5,4,4,6,0,0,
208,168,168,136,4,4,4,5,0,0,224,144,144,144,4,4,
4,5,0,0,96,144,144,96,4,6,6,5,0,254,224,144,
144,224,128,128,4,6,6,5,0,254,112,144,144,112,16,16,
4,4,4,5,0,0,160,208,128,128,4,4,4,5,0,0,
112,192,48,224,4,6,6,5,0,0,64,64,224,64,80,32,
4,4,4,5,0,0,144,144,144,112,4,4,4,5,0,0,
144,144,96,96,5,4,4,6,0,0,136,168,168,80,4,4,
4,5,0,0,144,96,96,144,4,6,6,5,0,254,144,144,
144,112,144,96,4,4,4,5,0,0,240,32,64,240,3,7,
7,4,0,0,32,64,64,128,64,64,32,1,7,7,2,0,
255,128,128,128,128,128,128,128,3,7,7,4,0,0,128,64,
64,32,64,64,128,4,2,2,5,0,3,80,160,3,6,6,
4,0,0,224,160,160,160,160,224,5,6,6,6,0,254,240,
136,136,240,128,128,5,4,4,6,0,0,112,136,128,120,5,
4,4,6,0,0,248,32,32,32,5,6,6,6,0,254,136,
136,136,120,8,112,5,8,8,6,0,254,32,32,112,168,168,
112,32,32,4,4,4,5,0,0,144,96,96,144,5,6,6,
6,0,254,144,144,144,248,8,16,5,4,4,6,0,0,136,
136,120,8,5,4,4,6,0,0,168,168,168,248,5,6,6,
6,0,254,168,168,168,248,8,16,5,4,4,6,0,0,192,
112,72,112,5,4,4,6,0,0,136,232,152,232,4,4,4,
5,0,0,128,224,144,224,4,4,4,5,0,0,224,80,48,
224,5,4,4,6,0,0,144,232,232,144,4,4,4,5,0,
0,112,144,112,144,5,6,6,6,0,0,32,80,136,248,136,
136,5,6,6,6,0,0,240,128,240,136,136,240,5,6,6,
6,0,0,240,136,240,136,136,240,4,6,6,5,0,0,240,
128,128,128,128,128,5,7,7,6,0,255,48,80,80,80,80,
248,136,4,6,6,5,0,0,240,128,224,128,128,240,5,6,
6,6,0,0,168,168,112,168,168,168,5,6,6,6,0,0,
112,136,48,8,136,112,4,6,6,5,0,0,144,144,176,208,
144,144,4,7,7,5,0,0,96,144,144,176,208,144,144,4,
6,6,5,0,0,144,160,192,160,144,144,5,6,6,6,0,
0,56,72,72,72,72,136,5,6,6,6,0,0,136,216,168,
168,136,136,4,6,6,5,0,0,144,144,240,144,144,144,5,
6,6,6,0,0,112,136,136,136,136,112,5,6,6,6,0,
0,248,136,136,136,136,136,4,6,6,5,0,0,224,144,144,
224,128,128,4,6,6,5,0,0,96,144,128,128,144,96,5,
6,6,6,0,0,248,32,32,32,32,32,5,6,6,6,0,
0,136,136,136,120,8,112,5,6,6,6,0,0,32,112,168,
168,112,32,5,6,6,6,0,0,136,80,32,32,80,136,5,
8,8,6,0,254,144,144,144,144,144,248,8,16,5,6,6,
6,0,0,136,136,136,120,8,8,5,6,6,6,0,0,168,
168,168,168,168,248,5,8,8,6,0,254,168,168,168,168,168,
248,8,16,5,6,6,6,0,0,192,64,112,72,72,112,5,
6,6,6,0,0,136,136,232,152,152,232,4,6,6,5,0,
0,128,128,224,144,144,224,5,6,6,6,0,0,112,136,56,
8,136,112,5,6,6,6,0,0,144,168,232,232,168,144,4,
6,6,5,0,0,112,144,144,112,144,144,5,4,4,6,0,
0,112,144,144,120,4,7,7,5,0,0,16,96,128,224,144,
144,96,4,4,4,5,0,0,192,160,208,224,4,4,4,5,
0,0,240,128,128,128,5,5,5,6,0,255,48,80,80,248,
136,4,4,4,5,0,0,96,144,224,112,5,4,4,6,0,
0,168,112,112,168,4,4,4,5,0,0,96,80,48,224,5,
4,4,6,0,0,136,152,168,200,5,6,6,6,0,0,80,
32,136,152,168,200,4,4,4,5,0,0,144,160,224,144,5,
4,4,6,0,0,56,72,72,136,5,4,4,6,0,0,136,
216,168,136,5,4,4,6,0,0,136,248,136,136,5,4,4,
6,0,0,112,136,136,112,5,4,4,6,0,0,248,136,136,
136,0,0,0,1,0,0,3,4,4,4,0,2,64,160,160,
64,5,5,5,6,0,1,32,16,248,16,32,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0};
/*
Fontname: u8g_font_6x10_marlin_rus
Copyright: Share and enjoy.
Special chars: degree = \xС0
Capital A Height: 7, '1' Height: 7
Calculated Max Values w= 6 h= 9 x= 1 y= 6 dx= 7 dy= 0 ascent= 8 len= 9
Font Bounding box w= 7 h= 9 x= 0 y=-2
Calculated Min Values x= 0 y=-2 dx= 0 dy= 0
Pure Font ascent = 7 descent=-2
X Font ascent = 7 descent=-2
Max Font ascent = 8 descent=-2
*/
#include <utility/u8g.h>
const u8g_fntpgm_uint8_t u8g_font_6x10_marlin[2371] U8G_SECTION(".progmem.u8g_font_6x10_marlin") = {
0,7,9,0,254,7,1,149,3,39,32,255,254,8,254,7,
254,0,0,0,6,0,0,1,7,7,2,0,0,128,128,128,
128,128,0,128,3,3,3,4,0,4,160,160,160,5,7,7,
6,0,0,80,80,248,80,248,80,80,5,7,7,6,0,0,
32,112,160,112,40,112,32,5,7,7,6,0,0,72,168,80,
32,80,168,144,5,7,7,6,0,0,64,160,160,64,168,144,
104,1,3,3,2,0,4,128,128,128,3,7,7,4,0,0,
32,64,128,128,128,64,32,3,7,7,4,0,0,128,64,32,
32,32,64,128,5,5,5,6,0,1,136,80,248,80,136,5,
5,5,6,0,1,32,32,248,32,32,2,3,3,4,0,255,
64,64,128,5,1,1,6,0,3,248,1,2,2,4,1,0,
128,128,5,7,7,6,0,0,8,8,16,32,64,128,128,5,
7,7,6,0,0,32,80,136,136,136,80,32,5,7,7,6,
0,0,32,96,160,32,32,32,248,5,7,7,6,0,0,112,
136,8,48,64,128,248,5,7,7,6,0,0,248,8,16,48,
8,136,112,5,7,7,6,0,0,16,48,80,144,248,16,16,
5,7,7,6,0,0,248,128,176,200,8,136,112,5,7,7,
6,0,0,48,64,128,176,200,136,112,5,7,7,6,0,0,
248,8,16,16,32,64,64,5,7,7,6,0,0,112,136,136,
112,136,136,112,5,7,7,6,0,0,112,136,152,104,8,16,
96,1,5,5,4,1,0,128,128,0,128,128,2,6,6,4,
0,255,64,64,0,64,64,128,4,7,7,5,0,0,16,32,
64,128,64,32,16,5,3,3,6,0,2,248,0,248,4,7,
7,5,0,0,128,64,32,16,32,64,128,5,7,7,6,0,
0,112,136,16,32,32,0,32,5,7,7,6,0,0,112,136,
152,168,176,128,112,5,7,7,6,0,0,32,80,136,136,248,
136,136,5,7,7,6,0,0,240,72,72,112,72,72,240,5,
7,7,6,0,0,112,136,128,128,128,136,112,5,7,7,6,
0,0,240,72,72,72,72,72,240,5,7,7,6,0,0,248,
128,128,240,128,128,248,5,7,7,6,0,0,248,128,128,240,
128,128,128,5,7,7,6,0,0,112,136,128,128,152,136,112,
5,7,7,6,0,0,136,136,136,248,136,136,136,3,7,7,
4,0,0,224,64,64,64,64,64,224,5,7,7,6,0,0,
56,16,16,16,16,144,96,5,7,7,6,0,0,136,144,160,
192,160,144,136,5,7,7,6,0,0,128,128,128,128,128,128,
248,5,7,7,6,0,0,136,136,216,168,136,136,136,5,7,
7,6,0,0,136,136,200,168,152,136,136,5,7,7,6,0,
0,112,136,136,136,136,136,112,5,7,7,6,0,0,240,136,
136,240,128,128,128,5,8,8,6,0,255,112,136,136,136,136,
168,112,8,5,7,7,6,0,0,240,136,136,240,160,144,136,
5,7,7,6,0,0,112,136,128,112,8,136,112,5,7,7,
6,0,0,248,32,32,32,32,32,32,5,7,7,6,0,0,
136,136,136,136,136,136,112,5,7,7,6,0,0,136,136,136,
80,80,80,32,5,7,7,6,0,0,136,136,136,168,168,216,
136,5,7,7,6,0,0,136,136,80,32,80,136,136,5,7,
7,6,0,0,136,136,80,32,32,32,32,5,7,7,6,0,
0,248,8,16,32,64,128,248,3,7,7,4,0,0,224,128,
128,128,128,128,224,5,7,7,6,0,0,128,128,64,32,16,
8,8,3,7,7,4,0,0,224,32,32,32,32,32,224,5,
3,3,6,0,4,32,80,136,5,1,1,6,0,255,248,2,
2,2,3,0,6,128,64,5,5,5,6,0,0,112,8,120,
136,120,5,7,7,6,0,0,128,128,176,200,136,200,176,5,
5,5,6,0,0,112,136,128,136,112,5,7,7,6,0,0,
8,8,104,152,136,152,104,5,5,5,6,0,0,112,136,248,
128,112,5,7,7,6,0,0,48,72,64,240,64,64,64,5,
7,7,6,0,254,120,136,136,120,8,136,112,5,7,7,6,
0,0,128,128,176,200,136,136,136,3,7,7,4,0,0,64,
0,192,64,64,64,224,4,9,9,5,0,254,16,0,48,16,
16,16,144,144,96,5,7,7,6,0,0,128,128,136,144,224,
144,136,3,7,7,4,0,0,192,64,64,64,64,64,224,5,
5,5,6,0,0,208,168,168,168,136,5,5,5,6,0,0,
176,200,136,136,136,5,5,5,6,0,0,112,136,136,136,112,
5,7,7,6,0,254,176,200,136,200,176,128,128,5,7,7,
6,0,254,104,152,136,152,104,8,8,5,5,5,6,0,0,
176,200,128,128,128,5,5,5,6,0,0,112,128,112,8,240,
5,7,7,6,0,0,64,64,240,64,64,72,48,5,5,5,
6,0,0,136,136,136,152,104,5,5,5,6,0,0,136,136,
80,80,32,5,5,5,6,0,0,136,136,168,168,80,5,5,
5,6,0,0,136,80,32,80,136,5,7,7,6,0,254,136,
136,152,104,8,136,112,5,5,5,6,0,0,248,16,32,64,
248,4,7,7,5,0,0,48,64,32,192,32,64,48,1,7,
7,2,0,0,128,128,128,128,128,128,128,4,7,7,5,0,
0,192,32,64,48,64,32,192,5,3,3,6,0,4,72,168,
144,4,7,7,5,0,0,240,144,144,144,144,144,240,5,7,
7,6,0,254,176,200,136,200,176,128,128,5,5,5,6,0,
0,112,136,128,136,112,5,5,5,6,0,0,248,32,32,32,
32,5,7,7,6,0,254,136,136,136,120,8,136,112,5,9,
9,6,0,254,32,32,112,168,168,168,112,32,32,5,5,5,
6,0,0,136,80,32,80,136,5,7,7,6,0,254,144,144,
144,144,248,8,8,5,5,5,6,0,0,136,136,120,8,8,
5,5,5,6,0,0,168,168,168,168,248,5,7,7,6,0,
254,168,168,168,168,248,8,8,5,5,5,6,0,0,192,64,
112,72,112,6,5,5,7,0,0,132,132,228,148,228,4,5,
5,5,0,0,128,128,224,144,224,5,5,5,6,0,0,112,
136,56,136,112,5,5,5,6,0,0,144,168,232,168,144,5,
5,5,6,0,0,120,136,120,136,136,5,7,7,6,0,0,
32,80,136,136,248,136,136,5,7,7,6,0,0,240,128,128,
240,136,136,240,5,7,7,6,0,0,240,136,136,240,136,136,
240,5,7,7,6,0,0,248,128,128,128,128,128,128,5,8,
8,6,0,255,24,40,40,72,72,72,248,136,5,7,7,6,
0,0,248,128,128,240,128,128,248,5,7,7,6,0,0,168,
168,168,112,168,168,168,5,7,7,6,0,0,112,136,8,48,
8,136,112,5,7,7,6,0,0,136,136,152,168,200,136,136,
5,8,8,6,0,0,80,32,136,152,168,200,136,136,5,7,
7,6,0,0,136,144,160,192,160,144,136,5,7,7,6,0,
0,56,72,72,72,72,72,136,5,7,7,6,0,0,136,136,
216,168,136,136,136,5,7,7,6,0,0,136,136,136,248,136,
136,136,5,7,7,6,0,0,112,136,136,136,136,136,112,5,
7,7,6,0,0,248,136,136,136,136,136,136,5,7,7,6,
0,0,240,136,136,240,128,128,128,5,7,7,6,0,0,112,
136,128,128,128,136,112,5,7,7,6,0,0,248,32,32,32,
32,32,32,5,7,7,6,0,0,136,136,136,80,32,64,128,
5,7,7,6,0,0,32,112,168,168,168,112,32,5,7,7,
6,0,0,136,136,80,32,80,136,136,5,9,9,6,0,254,
144,144,144,144,144,144,248,8,8,5,7,7,6,0,0,136,
136,136,120,8,8,8,5,7,7,6,0,0,168,168,168,168,
168,168,248,5,9,9,6,0,254,168,168,168,168,168,168,248,
8,8,5,7,7,6,0,0,192,64,64,112,72,72,112,5,
7,7,6,0,0,136,136,136,232,152,152,232,4,7,7,5,
0,0,128,128,128,224,144,144,224,5,7,7,6,0,0,112,
136,8,56,8,136,112,5,7,7,6,0,0,144,168,168,232,
168,168,144,5,7,7,6,0,0,120,136,136,120,40,72,136,
5,5,5,6,0,0,112,8,120,136,120,5,7,7,6,0,
0,120,128,112,136,136,136,112,5,5,5,6,0,0,240,136,
240,136,240,4,5,5,5,0,0,240,128,128,128,128,5,6,
6,6,0,255,48,80,80,80,248,136,5,5,5,6,0,0,
112,136,248,128,112,5,5,5,6,0,0,168,168,112,168,168,
5,5,5,6,0,0,112,136,48,136,112,5,5,5,6,0,
0,136,152,168,200,136,5,7,7,6,0,0,80,32,136,152,
168,200,136,5,5,5,6,0,0,136,144,224,144,136,5,5,
5,6,0,0,56,72,72,72,136,5,5,5,6,0,0,136,
216,168,136,136,5,5,5,6,0,0,136,136,248,136,136,5,
5,5,6,0,0,112,136,136,136,112,5,5,5,6,0,0,
248,136,136,136,136,0,0,0,6,0,0,3,3,3,4,0,
4,64,160,64,0,0,0,6,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,
0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
0,1,0,0,5,5,5,6,0,1,32,16,248,16,32,6,
6,6,6,0,2,32,112,168,32,32,60,0,0,0,1,0,
0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,
1,0,0};
далее, в dogm_lcd_implementation.h изменяем шрифт в функции lcd_implementation_drawedit
Код:
void lcd_implementation_drawedit(const char* pstr, char* value)
{
....
u8g.setFont(u8g_font_6x9);
....
}
потому что там по-умолчанию стоит конский размер, который во-первых перерисовывать я не хочу, во-вторых такой большой, что текст наползает сам на себя.
далее в том же файле меняем дефайн
Код:
#define LCD_STR_DEGREE "\xC1"
так как символ градуса в дефолтном марлин-шрифте соответствует русской букве "а". Пришлось передвинуть
Ну и в language.h меняем LANGUAGE_CHOICE на 6
Постараюсь разобраться с наползающими стрелочками в меню и буду считать свою миссию выполненной.