Jump to content

Text addFontWeight iOS bug?


jbattersby
 Share

Recommended Posts

Hi,

I'm adding fontWeight to some text and it works fine on everything except iOS where only the first character responds to the command.

var textObj = game.add.text(0, 0, 'Hello World! This is a triumph!', {
  font: 'Arial', fontSize: 32
});
textObj.addFontWeight('bold', 6);
textObj.addFontWeight('normal', 11);

Only the 'W' becomes bold. Any suggestions?

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...
  • 4 months later...

Thanks a lot Samme for your answer and your time.

Your example show the bug on ios ( updated ipad, same problem in Safari and Chrome mobile browser ).  The green bold text have just the first letter "b" in bold and the "old" are not in bold. On other system, all the letter of "bold" are in bold and it's work fine.

Best regards

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...