Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Custom font in Text?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15634

    Isak

    Hello i earlier worked in another sdk and had an custom fontsheet is this possible to use with an Text object? i want to use this font with my interfacetext. Its a png file with an .fnt file.

     

    If this aint possbile can you have custom fonts some other way?

     

     

    /Isak

     

     

    #15635

    Alex
    Felgo Team

    Hi Isak,

    you can load custom fonts with the FontLoader component. I am not 100% sure if your font is supported, but it’s surely worth a try 🙂

    Cheers,
    Alex

    #15641

    Isak

    alex.huber said:

    Hi Isak,

    you can load custom fonts with the FontLoader component. I am not 100% sure if your font is supported, but it’s surely worth a try 🙂

    Cheers,
    Alex

    Hello Alex,

    Thanks for the tip, i am using FontLoader now and it works great. I only installed the font on my systems and used FontLoader. Is that all i need to do or do i need to include the font when i build for it to be included?

     

    /Isak

    #15645

    Alex
    Felgo Team

    To make sure the font works everywhere, you need to include it in your project. E.g. put the file(s) of the font in your qml or assets directory and make use of the source property of the FontLoader.

    Cheers,
    Alex

Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded