diff --git a/flipcontrol_esp32/src/image.cpp b/flipcontrol_esp32/src/image.cpp index fe11f66..17e3504 100644 --- a/flipcontrol_esp32/src/image.cpp +++ b/flipcontrol_esp32/src/image.cpp @@ -53,17 +53,25 @@ void Image::addBuffer_text(String text,uint8_t xoffset, uint8_t yoffset) char currentchar=text.charAt(textpos); Serial.print("Current Char "); Serial.print((uint8_t)currentchar); Serial.print(":"); Serial.println(currentchar); - for (uint8_t x=0;x<6;x++) { + uint8_t emptycolumncounter=0; //count how many empty trailing columns for a character + for (uint8_t x=0;x