Follow-up for #5167 Turkish Language

Add check for Turkish Font before setting better font for graphic displays
This commit is contained in:
Mehmet Sutas 2016-11-19 21:23:53 +03:00 committed by Scott Lahteine
parent 3bc2273ac9
commit 6fb9c6fe07
2 changed files with 3 additions and 1 deletions

View File

@ -276,7 +276,7 @@
#include INCLUDE_LANGUAGE #include INCLUDE_LANGUAGE
#if DISABLED(SIMULATE_ROMFONT) && DISABLED(DISPLAY_CHARSET_ISO10646_1) && DISABLED(DISPLAY_CHARSET_ISO10646_5) && DISABLED(DISPLAY_CHARSET_ISO10646_KANA) && DISABLED(DISPLAY_CHARSET_ISO10646_GREEK) && DISABLED(DISPLAY_CHARSET_ISO10646_CN) #if DISABLED(SIMULATE_ROMFONT) && DISABLED(DISPLAY_CHARSET_ISO10646_1) && DISABLED(DISPLAY_CHARSET_ISO10646_5) && DISABLED(DISPLAY_CHARSET_ISO10646_KANA) && DISABLED(DISPLAY_CHARSET_ISO10646_GREEK) && DISABLED(DISPLAY_CHARSET_ISO10646_CN) && DISABLED(DISPLAY_CHARSET_ISO10646_TR)
#define DISPLAY_CHARSET_ISO10646_1 // use the better font on full graphic displays. #define DISPLAY_CHARSET_ISO10646_1 // use the better font on full graphic displays.
#endif #endif

View File

@ -40,6 +40,8 @@
#define MAPPER_ONE_TO_ONE #define MAPPER_ONE_TO_ONE
#elif ENABLED(DISPLAY_CHARSET_ISO10646_GREEK) #elif ENABLED(DISPLAY_CHARSET_ISO10646_GREEK)
#define MAPPER_ONE_TO_ONE #define MAPPER_ONE_TO_ONE
#elif ENABLED(DISPLAY_CHARSET_ISO10646_TR)
#define MAPPER_ONE_TO_ONE
#endif #endif
#else // SIMULATE_ROMFONT #else // SIMULATE_ROMFONT
#if DISPLAY_CHARSET_HD44780 == JAPANESE #if DISPLAY_CHARSET_HD44780 == JAPANESE