Skip to content
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

Degree symbol not shown on display #27

Closed
markus-i opened this issue Sep 5, 2019 · 2 comments
Closed

Degree symbol not shown on display #27

markus-i opened this issue Sep 5, 2019 · 2 comments

Comments

@markus-i
Copy link

markus-i commented Sep 5, 2019

Ok, I admit - that one is nasty. Especially since my attempts to get it to show on a different display led me into the depths of controller specific character sets :-(

Builder

Display

@markus-i
Copy link
Author

markus-i commented Sep 5, 2019

My bad. Just read the description of the Adafruit font library:

and “7b” to indicate that these contain 7-bit characters (ASCII codes “ ” through “~”); 8-bit fonts (supporting symbols and/or international characters) are not yet provided but may come later.

So this can't work, I'll have to think of something else.

@markus-i markus-i closed this as completed Sep 5, 2019
@ImpulseAdventure
Copy link
Owner

Hi Markus --

Although the "7b" fonts in the Adafruit-GFX library don't natively support the degree symbol, I was able to edit the FreeSans12pt7b font file for you to add a degree symbol.

To use this, you can enter in the backtick symbol wherever you want to see a degree symbol, eg:

23.5`C

Example from my display:
IMG_5792-s

Please see the attached font file "FreeSans12pt7b_mod.h"
FreeSans12pt7b_mod.zip

Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants