FontFamilyFactory

public protocol FontFamilyFactory

Returns a font family given a font family name and style.

  • Given a family name and style returns a font family

    Declaration

    Swift

    func getFontFamily(familyName: String, style: Typography.FontStyle) -> FontFamily

    Parameters

    familyName

    font family name

    style

    font style

    Return Value

    a font family matching the family name and style