Thanks for the code, @Gordon! I'm up for a challenge :)
I've been poking around some other font related code from the Espruino repos - I'm wondering what the format of the font bitmap data is, as passed to Graphics.setFontCustom? Is it (1) a wide bitmap, consisting of all characters side by side on the x axis, (2) individual bitmap data for each character just concatenated together or (3) something else? This'll help me visualise the process.
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 for the code, @Gordon! I'm up for a challenge :)
I've been poking around some other font related code from the Espruino repos - I'm wondering what the format of the font bitmap data is, as passed to
Graphics.setFontCustom
? Is it (1) a wide bitmap, consisting of all characters side by side on the x axis, (2) individual bitmap data for each character just concatenated together or (3) something else? This'll help me visualise the process.