I believe having a separate file or module for each will allow for easier upkeep should subtle changes be needed down the road. Pluggable in case more fonts evolve.
It also appears you have the conceptual idea on using each font as a length string of chars as in
FontDylex7x13.js
I'd use the example loader, maybe have one in each font file and push those into storage.
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.
Sun 2021.10.17
I believe having a separate file or module for each will allow for easier upkeep should subtle changes be needed down the road. Pluggable in case more fonts evolve.
It also appears you have the conceptual idea on using each font as a length string of chars as in
FontDylex7x13.js
I'd use the example loader, maybe have one in each font file and push those into storage.
Retrieve the selected one based on the menu or random array selection you envision.