As it happens I forgot that the font data is column-ordered. If I'd originally made the characters at right-angles to where they are, the code for it would have been amazingly simple.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks! Yes, I think those probably make more sense given the number of pixels. I'll add that font in now (as
Font4x8Numeric
)For anyone who is interested in trying stuff like this, here's the code I used to make the font:
As it happens I forgot that the font data is column-ordered. If I'd originally made the characters at right-angles to where they are, the code for it would have been amazingly simple.