3

Does as3 have any way to determine if a font can support certain styles, e.g. bold & italic.

Something like .NET's isStyleAvailable

ketan
  • 19,129
  • 42
  • 60
  • 98
Alex
  • 2,102
  • 1
  • 13
  • 16

1 Answers1

3

You can use FontDescription.isFontCompatible to find out if a font supports certain styles or not. Just run the function for bold, normal and italic and you should have what you need.

laurent
  • 88,262
  • 77
  • 290
  • 428