Skip to content

printToSprite("1") displays blank sprite #3570

Open
@Exiled350

Description

Using an ESP32-WROOM-32D, Visual Studio Code, ST7789V SPI display. When calling printToSprite() anything with just the number one "1" will display a blank sprite. anything else works, numbers, letters, a "1" with another character. Both printToSprite("1") and printToSprite((String) (x)) where x == 1. The sprite is generated and appears to be the correct size, it's just blank.

tft.setTextDatum(TL_DATUM); spr.loadFont(AA_FONT_16_64); spr.setTextColor(TFT_BLACK, TFT_SKYBLUE); tft.setCursor(10, 10); spr.printToSprite("1");
PXL_20241203_203802201

tft.setTextDatum(TL_DATUM); spr.loadFont(AA_FONT_16_64); spr.setTextColor(TFT_BLACK, TFT_SKYBLUE); tft.setCursor(10, 10); spr.printToSprite("10");
PXL_20241203_203840056

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions