Compose API Reference Compose UI Text toFontFamily Function Common fun Font.toFontFamily() = FontFamily(this) Create a FontFamily from this single Font.