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
Contributor
Posts: 24
Registered: ‎11-05-2012
My Device: BB10
My Carrier: Airtel

how to set font style for text using cascades QMLl?

Hi,

 

  I want to set digit font for text  like 1,2,3.... is it possible?

 

Regards,

Renjini.

Developer
Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: how to set font style for text using cascades QMLl?

[ Edited ]

Hi! Custom fonts aren't supported directly by Cascades, check this thread for details:

http://supportforums.blackberry.com/t5/Cascades-Development/How-to-Embed-a-quot-Custom-font-quot-TTF...

For digits you can probably use prerendered images.

 


Andrey Fidrya, @zmeyc on twitter
Highlighted
Contributor
Posts: 24
Registered: ‎11-05-2012
My Device: BB10
My Carrier: Airtel

how to set font style for text using cascades QMLl?

hi,

 

Thanks for reply Smiley Happy

 

Regrds,

Renjini