Does as3 have any way to determine if a font can support certain styles, e.g. bold & italic.
Something like .NET's isStyleAvailable
Does as3 have any way to determine if a font can support certain styles, e.g. bold & italic.
Something like .NET's isStyleAvailable
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.