moving decimal point #3599
Unanswered
Rongit53
asked this question in
Q&A - Fonts
Replies: 0 comments
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.
-
I use the dtostrf function to convert a float variable into a string. When outputting the string with tft.drawString, the decimal point jumps a few pixels to the left when changing from two-digit to one-digit values. I think this is caused by the smaller pixel width of the space compared to the pixel width of the digits.
Where can I see the fond used and how can I change the pixel width of the space character?
Beta Was this translation helpful? Give feedback.
All reactions