Hello,
I am trying to print a degree symbol in a variable line of text on my ILI9341 touchscreen. Normally on a static line length drawing a circle would suffice, but I need it to move dynamically left/right when the numbers become larger/smaller.
Tried the default font degree symbol which is way to low resolution of a circle & the additional font library for the font_awesome fonts to use the circle and scale it down. The problem however is that the infill behind the symbol is not large enough
and the following issue occurs:
As you can see the old digit (in red) is not completely overwritten by the new symbol (°) when the number became smaller in string length.
I am using the ILI9341_t3n on my touchscreen together with the ILI9341_fonts.
I have tried filling an entire black rectangle over the entire string length every time, but this causes flickering of the digits. Is there an easy way to get a degree symbol there, without overcomplicating things?
Thanks in advance,
Mark
I am trying to print a degree symbol in a variable line of text on my ILI9341 touchscreen. Normally on a static line length drawing a circle would suffice, but I need it to move dynamically left/right when the numbers become larger/smaller.
Tried the default font degree symbol which is way to low resolution of a circle & the additional font library for the font_awesome fonts to use the circle and scale it down. The problem however is that the infill behind the symbol is not large enough
and the following issue occurs:
As you can see the old digit (in red) is not completely overwritten by the new symbol (°) when the number became smaller in string length.
I am using the ILI9341_t3n on my touchscreen together with the ILI9341_fonts.
I have tried filling an entire black rectangle over the entire string length every time, but this causes flickering of the digits. Is there an easy way to get a degree symbol there, without overcomplicating things?
Thanks in advance,
Mark