getFontFamily

open fun getFontFamily(@NonNull fontFamily: String): Typeface

Gets the type face for a given font family.

Return

The type face or null if the font family is unavailable.

Parameters

fontFamily

The font family.