{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

FileBasedFontFamily

public sealed class FileBasedFontFamily extends FontFamily

java.lang.Object
   ↳ androidx.compose.ui.text.font.FontFamily
     ↳ androidx.compose.ui.text.font.FileBasedFontFamily
Known direct subclasses
FontListFontFamily

Defines a font family with list of Font.


A base class of FontFamilys that is created from file sources.

Summary

Protected constructors

Inherited methods

From androidx.compose.ui.text.font.FontFamily
final boolean

This method is deprecated. Unused property that has no meaning.

Protected constructors

FileBasedFontFamily

protected FileBasedFontFamily()