Skip to content

Commit 2ffe2d8

Browse files
Fixes #9850: Double space issue with Cyrillic OLED font (#9971)
* Fixes double space OLEDDisplayFontsRU.cpp * Fixes double space OLEDDisplayFontsUA.cpp --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
1 parent bfaf6c6 commit 2ffe2d8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/graphics/fonts/OLEDDisplayFontsRU.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const uint8_t ArialMT_Plain_10_RU[] PROGMEM = {
1010
0xE0, // Number of chars: 224
1111

1212
// Jump Table:
13-
0xFF, 0xFF, 0x00, 0x0A, // 32
13+
0xFF, 0xFF, 0x00, 0x03, // 32
1414
0x00, 0x00, 0x04, 0x03, // 33
1515
0x00, 0x04, 0x05, 0x04, // 34
1616
0x00, 0x09, 0x09, 0x06, // 35
@@ -1766,4 +1766,4 @@ const uint8_t ArialMT_Plain_24_RU[] PROGMEM = {
17661766
0x3F, // 255
17671767
};
17681768

1769-
#endif // OLED_RU
1769+
#endif // OLED_RU

src/graphics/fonts/OLEDDisplayFontsUA.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const uint8_t ArialMT_Plain_10_UA[] PROGMEM = {
99
0x20, // First char: 32
1010
0xE0, // Number of chars: 224
1111
// Jump Table:
12-
0xFF, 0xFF, 0x00, 0x0A, // 32
12+
0xFF, 0xFF, 0x00, 0x03, // 32
1313
0x00, 0x00, 0x04, 0x03, // 33
1414
0x00, 0x04, 0x05, 0x04, // 34
1515
0x00, 0x09, 0x09, 0x06, // 35
@@ -1924,4 +1924,4 @@ const uint8_t ArialMT_Plain_24_UA[] PROGMEM = {
19241924
0xFF, // 1103
19251925
};
19261926

1927-
#endif // OLED_UA
1927+
#endif // OLED_UA

0 commit comments

Comments
 (0)