Thank you for your kind comments.
The reason for sending the hours, separator and minutes separately was to avoid wasting an entire monospace character width on the separator. This allows the time to be displayed much larger than if it was all sent to the display as one line.
The reason for the different y offset for the separator is that the one in this font sits at the bottom of the character space and I wanted it to be displayed centrally in relation to y character space for the numbers.
I'll look into PIL Imagefont getbbox and getlength for sure. I'm very interested in learning as much as I can about driving these displays.
Thanks again.
The reason for sending the hours, separator and minutes separately was to avoid wasting an entire monospace character width on the separator. This allows the time to be displayed much larger than if it was all sent to the display as one line.
The reason for the different y offset for the separator is that the one in this font sits at the bottom of the character space and I wanted it to be displayed centrally in relation to y character space for the numbers.
I'll look into PIL Imagefont getbbox and getlength for sure. I'm very interested in learning as much as I can about driving these displays.
Thanks again.
Statistics: Posted by GTR2Fan — Tue Mar 26, 2024 7:53 pm