Add cyrillic parameter for font selection in json language files

This commit is contained in:
Rockman18
2018-11-15 02:12:36 +01:00
parent bc2446126f
commit 845dcd4bc6
6 changed files with 35 additions and 4 deletions

View File

@@ -223,7 +223,7 @@ const uint8_t FONT_12[]={
0x00,0x00,0x60,0xE0,0x80,0x10,0x18,0x8C,0xE4,0x60,0x00,0x00,0x00,0x00,0x00,0x81,0xE7,0x7E,0x1E,0x07,0x01,0x00,0x00,0x00, // ý c3 bd
0x00,0x00,0x03,0xFF,0xFF,0x1B,0x18,0x18,0xF8,0xF0,0x00,0x00,0x00,0x00,0x30,0x3F,0x3F,0x36,0x06,0x06,0x07,0x03,0x00,0x00, // þ c3 be
0x00,0x00,0x60,0xEC,0x8C,0x00,0x00,0x8C,0xEC,0x60,0x00,0x00,0x00,0x00,0x00,0x81,0xE7,0x7E,0x1E,0x07,0x01,0x00,0x00,0x00, // ÿ c3 bf
#ifdef LANG_RU
#ifdef CYRILLIC_GLYPHS
/* Cyrillic Glyphs */
//V192 ---- PAGE U+0400-U+043F (UTF 0xD080-0xD0BF) ----
0x00,0xFC,0xFC,0x8D,0x8F,0x8E,0x8C,0x8C,0x8C,0x0C,0x0C,0x00,0x00,0x3F,0x3F,0x31,0x31,0x31,0x31,0x31,0x31,0x30,0x30,0x00, // Ѐ d0 80
@@ -841,7 +841,7 @@ const uint8_t FONT_6x8[] = {
0x44, 0x48, 0x32, 0x11, 0x0c, 0x00, // 189: 'ý' U+00fd (utf-8: c3 bd)
0x7c, 0x28, 0x28, 0x10, 0x00, 0x00, // 190: 'þ' U+00fe (utf-8: c3 be)
0x44, 0x49, 0x30, 0x11, 0x0c, 0x00, // 191: 'ÿ' U+00ff (utf-8: c3 bf)
#ifdef LANG_RU
#ifdef CYRILLIC_GLYPHS
/* Cyrillic */
// ---- PAGE U+0400-U+043F (UTF 0xD080-0xD0BF) ----
0x7c, 0x55, 0x56, 0x44, 0x44, 0x00, // 192: 'Ѐ' U+0400 (utf-8: d0 80)

View File

@@ -1589,6 +1589,8 @@ const char* SettingsMenuEntriesDescriptions[4] = {
#ifdef LANG_RU
// ---- Русский ----
#define CYRILLIC_GLYPHS
const char* SettingsDescriptions[] = {
/* PowerSource */ "Источник питания. Установка напряжения отключения. <DC 10V> <S 3.3 V на батарею>",
/* SleepTemperature */ "Температура режима ожидания <С>",