rdancer / Color_LCD

0 stars 0 forks source link

Volt is capital “V” #7

Open rdancer opened 3 years ago

rdancer commented 3 years ago

When battery SOC display is set to voltage

If this is a font issue, font must be changed.

It is the first thing a person reading left-to-right & top-to-bottom sees, and it is embarrassing.

Also see #XXX

image

rdancer commented 3 years ago

It is capital "V", hex 0x56, so it is a font issue.

https://github.com/rdancer/Color_LCD/blob/f22fe053c1932a49dfabae52532464f0d0e400ac/firmware/common/src/mainscreen.c#L1108-L1110

rdancer commented 3 years ago

Fonts are compiled using ttf2ugui, in https://github.com/rdancer/Color_LCD/tree/master/firmware/860C_850C/tools -- somehow.

rdancer commented 3 years ago

There is a command that shows ASCII art of a compiled character (string); from https://github.com/rdancer/Color_LCD/blob/master/firmware/860C_850C/tools/ttf2ugui/README.md :

Show ascii art of same font:

ttf2ugui --font Luna.ttf --dpi 140 --size 14 --show "aString"

rdancer commented 3 years ago

All the caps are small caps. The "860C" string on the boot screen also shows with small "c".