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

Forums

OverviewFelgo 3 Support (Qt 5) › FontAwesome 5 support very hit and miss

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24183

    Lucas

    Switched from FontAwesome 4 to FontAwesome 5. Using the solid style, as that seems to be close to what is being used

    It seemed to be working at first – some icons are rendering correctly, so I went ahead and created a QML Type for all the unicode strings since I had an example of it working. However others, not at all.

    “play” icon does not render correctly, yet “play-circle” does.

    I know you’ve previously said you’re looking at options with FA5 out and FA 6 on the horizon, but it would be really useful if there’s some clarity on plans going forward.

     

    #24217

    Filippo

    Hi Lucas,

    thank you for reaching out to us. I’m not aware of any immediate plans to update the current version of Awesome font.

     

    That said it is pretty straightforward to use your own icon font:

    App {
    
      onInitTheme: {
        Theme.iconFont = iconFont
      }
    
      FontLoader{
        id: iconFont
        source: "../path/to/your/font/fa-light-300.ttf"
      }
    }

    This way you’ll be able to use all the icons you need.

Viewing 2 posts - 1 through 2 (of 2 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