As the title says... Chat on...

User avatar
By alex_g
#67461 Hi, I'm trying to find out which fonts are available for use with the pre-built (custom) firmware for u8g.
(dev branch, 21/6/17)

So far I have only used u8g.font_6x10
I can see that there are several potentially available from the u8g libs, but I do not know which have been precompiled into the module and I cannot find the relevant github page.

Even u8g.font_profont22r which is given as an example here is not available.

Any help, or links to relevant page much appreciated!


----

PS. By chance, browsing through the docs, I also found u8g.font_chikita (which does work), but I really need something more systematic :lol:
User avatar
By marcelstoer
#67469
alex_g wrote:Hi, I'm trying to find out which fonts are available for use with the pre-built (custom) firmware for u8g. (dev branch, 21/6/17)


I don't get this. There are no pre-built binaries: https://github.com/nodemcu/nodemcu-firmware#releases

https://github.com/nodemcu/nodemcu-firm ... g_config.h defines which fonts are compiled into the firmware at build time. If you build on https://nodemcu-build.com/ you get a nice graphical font selector.
User avatar
By alex_g
#67472
marcelstoer wrote:I don't get this. There are no pre-built binaries: https://github.com/nodemcu/nodemcu-firmware#releases

Ah, my apologies. I meant custom nodemcu builds, off your site. I just phrased it badly...
If you build on https://nodemcu-build.com/ you get a nice graphical font selector.

Yes, I've just looked at it again, and I now realise how it works. Thanks very much.
Hopefully it will all go according to plan, now!

===

PS. Yup, all great now, muchas gracias!