# Typeface

Artifact: [androidx.compose.ui:ui-text](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/text/font/Typeface.kt+class:androidx.compose.ui.text.font.Typeface) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/AllAndroid/JVM
- Cmn

  ```
  interface Typeface
  ```

*** ** * ** ***

A class that can be used for changing the font used in text.

## Summary

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/font/FontFamily?` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/font/Typeface#fontFamily()` The font family used for creating this Typeface. | Cmn |

## Public properties

### fontFamily

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val fontFamily: FontFamily?
```

The font family used for creating this Typeface. If a platform Typeface was used, will return null.