Printing ASCII Characters in a Sprite with a ordinal number less than 32 #3042
Unanswered
DGhost001
asked this question in
Q&A - Fonts
Replies: 1 comment 4 replies
-
ASCII characters less that 32 are control codes and thus are not printable characters and do not exist in fonts. |
Beta Was this translation helpful? Give feedback.
4 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.
-
Hi,
I use the library with a full 256 Character font. So there are natural also the character symbols with ordinal numbers between 0..31 available.
If I want to print a text that contain any of those characters, they do not show up when the text is printed into a sprite.
The issue is in Sprite.cpp here
If I see this correctly the
if (c<32) return;
is not needed and prevents the usage of characters less than 32.So I would suggest to remove it, or check the availability of the characters in the current font here.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions