matchFamilyStyle

fun matchFamilyStyle(familyName: String?, style: FontStyle): Typeface?

Find the closest matching typeface to the specified familyName and style and return it. The caller must call close on the returned object. Will return null if no 'good' match is found.

Passing null as the value for familyName will return the default system font.

It is possible that this will return a style set not accessible from makeStyleSet or matchFamily due to hidden or auto-activated fonts.