# Font provider service

Fuchsia offers a discoverable protocol called
[`fuchsia.fonts.Provider`](https://fuchsia.dev/reference/fidl/fuchsia.fonts#Provider)
for requesting font assets.

A client may obtain a digital font file for a font family with
[`Provider.GetTypeface()`](https://fuchsia.dev/reference/fidl/fuchsia.fonts#Provider.GetTypeface),
which specifies query parameters, as well as fallback
and match logic. If satisfiable, the method returns an appropriate font file
buffer and some metadata.

The client may also query the styles available within a font family, with
[`Provider.GetFontFamilyInfo()`](https://fuchsia.dev/reference/fidl/fuchsia.fonts#Provider.GetFontFamilyInfo).
[](https://issues.fuchsia.dev/issues/new?component=1439230&template=1881640&description=Issue+on:+https://fuchsia.dev/docs/development/internationalization/fonts/provider.md "Report a bug or suggest improvements on this page") [](https://cs.opensource.google/fuchsia/fuchsia/+/main:docs/development/internationalization/fonts/provider.md "View the source code of this page") [](https://ci.android.com/edit?repo=fuchsia/fuchsia/main&file=docs/development/internationalization/fonts/provider.md&cloneRepo=fuchsia/fuchsia:refs/heads/main&fullPath=fuchsia/docs/development/internationalization/fonts/provider.md "Edit the source code of this page")