Replies: 3 comments 1 reply
-
Difficult to tell without the code, but maybe https://github.com/olikraus/u8g2/wiki/u8g2reference#enableutf8print helps |
Beta Was this translation helpful? Give feedback.
-
Hi Oli, Here the relevant code snippet: void ProgressBar(int wert, int last_wert)
} When I change the sequence of " °C° to " C°", the C is displayed correctly. best regards Karl |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
While getting familiar with the u8g2 library, I am using a small monochrome OLED Display 0,91"with I2C Interface and the ESP32 chip with the ESP-IDF. The project I programmed was a progress bar with charaters that are inverted when the progress bar overlay them. I used the DrawColor Option 2 -> XOR and the font in transparent mode. Everything worked graet !! until the moment I added "°C" to the string. ° and C are flickering. Using a character <=127 in the font list (u8g2_font_helvB24_tf) there is no problem. Using characters >127 the flickering occurs. For displaing characters > 127 I use „u8g2_DrawUTF8“.
Interesting is, when I change the sequence from „°C“ to „C°“, the „C“ is displayed correctly and "°" flickers. Is that a known bug ? Does there exists a workaround ?
Best regards Karl
Beta Was this translation helpful? Give feedback.
All reactions