Print Custom Fonts on Brain Screen

Hello, I am working on a project for my engineering class, and I really want to be able to import a font to use on the v5 brains. is this something that is possible?

VEXcode doesn’t really support loading fonts, it technically can, but we don’t have any public tools to enable conversion into the internal format that vexos needs (due to licensing issues).

Your best bet is probably going to be using LVGL and loading a font at runtime from the SD card.

https://docs.lvgl.io/7.11/overview/font.html

My LVGL port for VEXcode is here

you don’t really need to build that project, just add library and headers to yours. This is not exactly a beginners project.

If you are using PROS, it’s is still based on LVGL 5 so make sure to look at the correct documentation as LVGL seems to make breaking changes with every major release.

7 Likes