How to load fonts from external source

What do you want to achieve?

Store and load font bitmaps from an external source (QSPI flash in my case but I can handle that in the file system driver I think).

What have you tried so far?

I see that in the Project Settings I can configure my images to be exported as binaries and specify the “drive” to retrieve them from. I am not seeing anything similar for fonts. When I create a font, I see the console convert it to a binary but not stored in the “drive” like the image assets are. It is also unclear how the generated sources will know how to find externally stored fonts. Will the exported code be modified to use lv_binfont_create?

How can I have the montserrat fonts stored externally as well, not just fonts I create.

Screenshot or video


  • SquareLine Studio version: 1.4.0
  • Operating system: Windows 11
  • Target hardware:

It’s a desirable feature, thanks for mentioning it. This will probably be realized soon.