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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Developer
Pumano-
Posts: 199
Registered: ‎11-05-2011
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")

}

 

Please use plain text.