Browse Source

Follow-up for #5167 Turkish Language

Add check for Turkish Font before setting better font for graphic displays
Mehmet Sutas 8 years ago
parent
commit
6fb9c6fe07
2 changed files with 3 additions and 1 deletions
  1. 1
    1
      Marlin/language.h
  2. 2
    0
      Marlin/utf_mapper.h

+ 1
- 1
Marlin/language.h View File

@@ -276,7 +276,7 @@
276 276
 
277 277
 #include INCLUDE_LANGUAGE
278 278
 
279
-#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)
279
+#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)
280 280
   #define DISPLAY_CHARSET_ISO10646_1 // use the better font on full graphic displays.
281 281
 #endif
282 282
 

+ 2
- 0
Marlin/utf_mapper.h View File

@@ -40,6 +40,8 @@
40 40
     #define MAPPER_ONE_TO_ONE
41 41
   #elif ENABLED(DISPLAY_CHARSET_ISO10646_GREEK)
42 42
     #define MAPPER_ONE_TO_ONE
43
+  #elif ENABLED(DISPLAY_CHARSET_ISO10646_TR)
44
+    #define MAPPER_ONE_TO_ONE
43 45
   #endif
44 46
 #else // SIMULATE_ROMFONT
45 47
   #if DISPLAY_CHARSET_HD44780 == JAPANESE

Loading…
Cancel
Save