Good afternoon.
ESP32, firmvare display_ESP32_4M316k, 30.11.2023.
In the sevenseg24 and sevenseg18 fonts, the "1" character has a smaller width than all the others. Because of this, the display of numbers shifts. Can this be fixed somehow?
sevenseg fonts
Moderators: grovkillen, Stuntteam, TD-er
sevenseg fonts
- Attachments
-
- IMG_8989 (1).jpg (561.98 KiB) Viewed 9724 times
Re: sevenseg fonts
Hmm, haven't used those fonts much, so didn't notice this before.
I'll have a look during the weekend to see if this can be fixed easily.
I'll have a look during the weekend to see if this can be fixed easily.
/Ton (PayPal.me)
Re: sevenseg fonts
Maybe also check if each character (not only '1') has the same width, or is this a (hex)number-only font?
Re: sevenseg fonts
Yes, unfortunately, other characters also have different widths. 
Although this is not so critical.

Although this is not so critical.

- Attachments
-
- IMG_8990.jpg (570.61 KiB) Viewed 9714 times
Re: sevenseg fonts
It would also be nice to add a degree Celsius symbol. {D}
Re: sevenseg fonts
The issue here is that the used 7-segment fonts are proportionally spaced, causing exactly this behavior.
I'm looking for an alternative 7-segment font that can be used, as patching this font doesn't provide the desired result. And adding (or replacing) a character to show the degree symbol is not really doable.
I'm looking for an alternative 7-segment font that can be used, as patching this font doesn't provide the desired result. And adding (or replacing) a character to show the degree symbol is not really doable.
/Ton (PayPal.me)
Re: sevenseg fonts
Maybe like this?
https://www.fontspace.com/segment7-font-f19825
https://www.fontspace.com/segment7-font-f19825
Who is online
Users browsing this forum: No registered users and 0 guests