Closed waspinator closed 6 years ago
I do not remember exactly how my old converter works. Are you able to switch to u8g2? The bdf converter for u8g2 has a commandline option to force monospaced fonts. In fact i had worked a lot to improve this for u8g2.
I should have looked into u8g2 sooner. I didn't even have to create a 32 sized font, as it already had it. Thanks for all your hard work on these libraries.
I'm trying to generate a 36 point monospaced font (https://fonts.google.com/specimen/Roboto+Mono), but it doesn't behave properly on my LCD.
I converted
RobotoMono-Regular.ttf
to abdf
font using font forge, and then I converted thebdf
font to aug8
font using thebdf2ug8.exe
utility.These are the important parts of my sketch. One using a built in monospaced font (profont29), and one using my generated version (roboto36).
for the
my_number
=4
I get these outputs:u8g_font_profont29
:| 4|
(there are additional spaces, just not showing up here for some reason)roboto36
:|4|
I want to right align my numbers, and it works great using sprintf and the built in font, but not with the extra one.