---
title: "RemoteTypeface"
description: "A sealed interface that represent the concept of a Typeface in Remote Compose."
type: "interface"
lastmod: "2026-06-18T10:32:53.237598Z"
---
## API Reference

> Source set: Android

```kotlin
public sealed interface RemoteTypeface
```

A sealed interface that represent the concept of a Typeface in Remote Compose.

Custom or named system fonts are represented by [Named](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteTypeface.Named) type and are registered in the document
as Strings to be referenced.

## Properties

### name

> Source set: Android

```kotlin
public val name: String
```

The name used to identify the font in the document and player

## Functions

### toAndroidTypeface

```kotlin
public fun toAndroidTypeface(): Typeface
```

Converts this RemoteTypeface to an Android framework Typeface.
