Browse Source

Fix ExtUI automatic font scaling (#18377)

vanilla_fb_2.0.x
RudolphRiedel 4 years ago
committed by GitHub
parent
commit
e65e2f33f1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/ftdi_eve_lib/extended/command_processor.h

2
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/ftdi_eve_lib/extended/command_processor.h

@ -315,7 +315,7 @@ class CommandProcessor : public CLCD::CommandFifo {
#ifdef TOUCH_UI_USE_UTF8
const bool is_utf8 = has_utf8_chars(text);
#endif
for (;font >= 26;) {
for (;font > 26;) {
int16_t width, height;
#ifdef TOUCH_UI_USE_UTF8
if (is_utf8) {

Loading…
Cancel
Save