How can I position this line of text #1317
Unanswered
Aleph-Design
asked this question in
Q&A - Fonts
Replies: 1 comment
-
Further experimentations learn that using a smaller font (FSSB12) all is well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is the result I get:

When I try to lower the line, all I get is rubbish or working TFT-screen at all.
`void loop()
{
pTft->fillScreen(TFT_NAVY);
pTft->fillRect(0, 0, 320, 50, TFT_YELLOW); // 1. OK
pTft->fillRect(2, 2, 316, 46, TFT_RED);
pTft->setFreeFont(FSSB18);
pTft->setCursor(75, 15);
// Set text colour and background
pTft->setTextColor(TFT_YELLOW, TFT_RED);
pTft->println("- WEB RADIO");
}`
Any help will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions