-
-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(bw): language special characters not working for 10x14 font size #4816
Conversation
Updated with a description of the B&W font mappings. |
Added some constants to replace the magic numbers to (hopefully) make the code easier to maintain. |
Works wonder on UA work, so I guess it will work for anything :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 🤩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a quick look at DE and CZ for boxer, x9d and tx16 versus prior screenshots and couldn't see any changes so LGTM. Removal of 'magic numbers' and documentation much appreciated.
…4816) Also cleans up the font handling to make the different font sizes more consistent. It will now allow more than 64 special characters for language translation (if it is ever required).
…dgeTX#4816) Also cleans up the font handling to make the different font sizes more consistent. It will now allow more than 64 special characters for language translation (if it is ever required).
The fix in PR #4806 for handling language special characters in the B&W fonts did not work correctly for the 10x14 font.
This PR fixes that and cleans up the font handling to make the different font sizes more consistent.
It will now allow more than 64 special characters for language translation (if it is ever required).
It also fixes the STR_CHAR_UP and STR_CHAR_DOWN display on 128x64 size screens for the 4x6, 8x10 and 10x14 font sizes.