Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
Developer
Posts: 222
Registered: ‎11-05-2011
My Device: Z10
My Carrier: Beeline

Re: How to Embed a "Custom font" TTF in QML and C++

Need solution like this:

 

FontLoader {

     id: ledFont
     source: "./content/resources/font/LED_REAL.TTF"
     
     onStatusChanged: if (ledFont.status == FontLoader.Error)

     console.log ("Font \"" + source +"\" cannot be loaded")

}