---
title: "LocalFontLoader"
description: "The CompositionLocal to provide platform font loading methods."
type: "property"
---

<div class='type'>Property</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


> **Deprecated** LocalFontLoader is replaced with LocalFontFamilyResolver

```kotlin
@get:RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
val LocalFontLoader =
staticCompositionLocalOf<Font.ResourceLoader> { noLocalProvidedFor("LocalFontLoader") }
```


The CompositionLocal to provide platform font loading methods.



