How to select default font in SLS

What do you want to achieve?

Select a different font from montserrat_16 as my default font. I have it set as montserrat_18 in my lvgl_conf.h file and I want SLS to reflect that

What have you tried so far?

Searched in the spj file. I thought it may be specified there

Screenshot or video


  • **SquareLine Studio version:1.2.3
  • **Operating system:Winblows 10
  • **Target hardware:Visual Studio 19

Actually, it looks like the default font is montserrat_14, but all the greyed out font selection boxes say montserrat_16. I’d like to make it montserrat_18 like it is in my lvgl_conf.h file.

You can’t select default font now, but you can set the font for the screens and all children will inherit it.

My workaround was to find and replace using a regex. I found the plugin for Notepad++. It is a good solution anyway as sometimes one wants to change a lot of things easily.

1 Like