Yesterday I was shocked to find that Espruino doesn't speak German to me through the OLED display, because all of its fonts lack the letters ÄÖÜäöüß. So I went to study how fonts work in Espruino. I like Espruino's 6x8 bitmap font and I couldn't find anything alike online (all fonts I found in that size with extended characters are serif fonts that look ugly and waste space on displays), so I ended up actually drawing my own font based on the 6x8.
My font Dennis8 not only supports German but most other european languages as well, such as Spanish, French, Italian, Portuguese, Swedish, Danish, Icelandic etc. The characters are located in the charset according to ISO 8859-1, so some characters used by Turkish, Polish etc. are present as well (but not those outside of the 8bit address space).
While I was already at it, I included some symbols I found in other fonts (used by popular LCD drivers) and even more symbols I found useful for embedded development, such as transport control buttons, arrows, a house (home) and some more.
require("https://raw.githubusercontent.com/pastaclub/espruino-font-dennis8/master/FontDennis8.js").add(Graphics);
// Update: Since Gordon added the font to Espruino module repo, you can now do
require("FontDennis8").add(Graphics);
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.
Hey folks, I got creative and made a font!
Yesterday I was shocked to find that Espruino doesn't speak German to me through the OLED display, because all of its fonts lack the letters ÄÖÜäöüß. So I went to study how fonts work in Espruino. I like Espruino's 6x8 bitmap font and I couldn't find anything alike online (all fonts I found in that size with extended characters are serif fonts that look ugly and waste space on displays), so I ended up actually drawing my own font based on the 6x8.
My font Dennis8 not only supports German but most other european languages as well, such as Spanish, French, Italian, Portuguese, Swedish, Danish, Icelandic etc. The characters are located in the charset according to ISO 8859-1, so some characters used by Turkish, Polish etc. are present as well (but not those outside of the 8bit address space).
While I was already at it, I included some symbols I found in other fonts (used by popular LCD drivers) and even more symbols I found useful for embedded development, such as transport control buttons, arrows, a house (home) and some more.
The repository can be found here:
https://github.com/pastaclub/espruino-font-dennis8
To try the font, include it like so:
Have fun!
Here's a demo: