Open mrcodetastic opened 3 years ago
I can confirm the issue. With the default font and default size the text bounds are always returned with an additional pixel in width and height which can also be seen in this image (the text "Huhu" is rasterized using AdafruitGFX and the preferred size is exactly what getTextBounds
returns):
Refer to: https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA/issues/43
Specifically, https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA/issues/43#issuecomment-740575875