Use original u8g fonts in u8g2? #2156
Unanswered
electrichotmatt
asked this question in
Q&A
Replies: 2 comments 2 replies
|
Most fonts from u8g are also there in u8g2. In fact there is a translation table, so that you can keep the u8g name. Lines 3752 to 3946 in fbeba5d |
0 replies
|
ok, i think you are right, I didn't port the 04 fonts: https://github.com/olikraus/u8glib/tree/master/tools/font/ttf You need the 04B_03__.TTF font, right? Let me create an issue for this... |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm looking to migrate from u8g to u8g2, but noticed that the fonts are different. Is there any way to port the original fonts from u8g to u8g2? I noticed that the u8g2_font_tinyunicode_tr one is very similar to the original one I used, but has different spacing for a few characters and it throws off my old code.
Here's the font I'd like to use
https://github.com/olikraus/u8glib/blob/master/fntsrc/u8g_font_04b_03.c
Thanks!
All reactions