Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

css font-weight property is not working in device!

ANSWERED

sdk version: 4.2

device: Versa 2

code:<text font-weight="bold">hhh</text>

 

It is all right in simulator BUT not working in my versa 2!

gkd please!

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Not all fonts support bolding that way, I think. As an alternative, see if there's a bold version of the font that you can specify in font-family; eg, "Barlow-Bold".

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

Not all fonts support bolding that way, I think. As an alternative, see if there's a bold version of the font that you can specify in font-family; eg, "Barlow-Bold".

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Hi Gondwana:

 thinks! IT WORKS!

Best Answer