To use custom fonts, you can use a FontLoader item with custom Text as shown here: https://felgo.com/doc/apps-getting-started/#fonts
This also works to import icon fonts. FontAwesome is already included and does not require to be loaded with a FontLoader.
For more details about developing Felgo apps, you can have a look at our open-source demos and examples. We also provide some tutorials to learn different aspects of the engine. They are definitely worth a look!
Ok, I understand that. In the Icon QML Type doc it says “Alternatively, a different icon font can be used by setting the Theme::iconFont property“. How can I set that property if I have my custom-font.otf file?
You can change it in the same way, as the code example from font doc posted above changes the Theme.normalFont.
However, please note that changing the Theme.iconFont in turn then requires you to use your own unicode text values to draw the desired font icons. The IconType configurations are only valid for FontAwesome.
Want to find out if Felgo is a good fit for your company?
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: