Is it possible to use FontAwesome symbols directly in SLS?

What do you want to achieve?

LVGL have built-in support for FontAwesome symbols. I would like to add those symbols in SLS.
https://docs.lvgl.io/master/overview/font.html?highlight=font#fonts

What have you tried so far?

I am able to show them on real hardware by modifying the generated code, but each time I regenerate the code the symbol is overwrited.
It would be nice to see the final result on SLS.

Thank you.

Screenshot or video

Others

  • SquareLine Studio version:
  • Operating system:
  • Target hardware:

It’s not supported now to use LV_SYMBOLS_...s.

You can create a custom font using FontAwesome, and copy past the symbols into the text field of a label.

You can safely modify any widgets after calling ui_init(). E.g.

ui_init();
lv_label_set_text(ui_Label1, LV_SYMBOL_OK " Apply");

Still impossible ? @SquareLine_Support

Hi, creating custom fonts is actually quite easy, whether you want to use Font Awesome or any custom icons.

Here’s how you can do it:
You can download Font Awesome icons as SVG files, then use a tool like Convert SVG Icons to Export as Icon Font, SVG, PNG, PDF, Sprite, etc. ❍ IcoMoon App to quickly convert them to a TTF font with just a few clicks. Once you have the TTF font, you can create your own font through the Font Manager panel in SquareLine Studio.

This approach gives you full control over which icons to include, and the fonts will be properly displayed in both the editor and your final application.

OMG i ask this? We require add symbol + text into labels in SQS.
in code is LV_SYMBOL_WARNING “Are you sure?”