looking for bdf of a u8g2 font #2395
-
I am trying to trim down the data size of a font included in u8g2 using bdfconv but I looked in /tools/font/bdf and cannot find it in there. So, I have 2 questions for anyone that can help please: 1 - can someone point me to the .bdf format of the u8g2_font_6x12_t_symbols Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
The 6x12_t_symbols are a subset of the following font: The precise list of unicode glyphs are listed here: Line 281 in ec2559e |
Beta Was this translation helpful? Give feedback.
-
ah yes thanks, looks like Fony only displaying 0-255 and won't let me change above 255, fontforge worked to open it fully....next i tryed bdfconv to reduce 6x12.bdf down to a handful of symbols for testing this process bdfconv -v -f 1 -m "9632-9633,9650-9651,9658-9661,9668-9669" 6x12.bdf -n testfont -o testfont.c and got the c file: const uint8_t testfont[126] U8G2_FONT_SECTION("testfont") = put in my code and tried u8g2.setFont(testfont); u8g2.drawGlyph(16,16,9651); for example and not working (display black, doesnt show anything), it works and displays correct character if i change font back to (u8g2_font_6x12_t_symbols) |
Beta Was this translation helpful? Give feedback.
FIXED it! I was using the wrong bdfconv exe file :) works great now thanks