> ## Documentation Index
> Fetch the complete documentation index at: https://rive-transitions-2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Font Assets

> Import and customize fonts.

export const VideoEmbed = ({src}) => {
  return <div style={{
    width: "100%",
    height: "100%",
    overflow: "hidden"
  }}>

      <video src={src} autoPlay loop muted playsInline style={{
    width: "100%",
    height: "100%",
    borderRadius: 0,
    margin: 0,
    display: "block",
    objectFit: "cover",
    backgroundColor: "transparent"
  }} />
    </div>;
};

## Importing Fonts

See [Importing Assets](/editor/fundamentals/assets-overview#importing-assets) for information about importing files, including TTF and OTF files.

### Google Fonts

You can add Google Fonts directly from the text style font options. Select a text run, choose a Google Font, and Rive adds the font to the Assets panel automatically.

<VideoEmbed src="https://static.rive.app/video/font-asset.mp4" />

## Export Options

Font assets include an Include option that controls which glyphs are included when the font is exported.

* **All glyphs**: Include the full font.
* **Glyphs used**: Include only the glyphs used in the file.
* **Custom**: Include a custom set of glyphs.

<img src="https://mintcdn.com/rive-transitions-2/pUWAhxU9qubdBvIR/images/editor/assets/export-options.png?fit=max&auto=format&n=pUWAhxU9qubdBvIR&q=85&s=1291fc536e2f4c5a623dbfa574b9bedc" alt="Export options" width="552" height="254" data-path="images/editor/assets/export-options.png" />

<Note>
  Fonts can significantly increase the size of your exported `.riv` file, especially when exporting **All glyphs**. Use **Glyphs used** or **Custom** when you only need a smaller set of characters.
</Note>

<Tip>
  To control which glyphs are included, create an artboard that you do not export to the `.riv` file. Add a text run with the exact characters you want to include, then set the font asset’s **Include** option to **Glyphs used**.

  For example, if your file only needs numbers, add a text run with `0123456789`. Those glyphs will be included in the exported font.

  <img src="https://mintcdn.com/rive-transitions-2/pUWAhxU9qubdBvIR/images/editor/assets/glyphs-used-hack.png?fit=max&auto=format&n=pUWAhxU9qubdBvIR&q=85&s=d9a8306be3a64d720f0900f754788be9" alt="Glyphs used hack" width="2840" height="1870" data-path="images/editor/assets/glyphs-used-hack.png" />
</Tip>

### Custom - Export Scripts

When **Include** is set to **Custom**, you can use **Export Scripts** to choose which glyph groups to include, such as Latin, Thai, or other writing systems.

<img src="https://mintcdn.com/rive-transitions-2/pUWAhxU9qubdBvIR/images/editor/assets/export-scripts.png?fit=max&auto=format&n=pUWAhxU9qubdBvIR&q=85&s=336dd421e9da39afac19d2f9ef9451a7" alt="Export scripts" width="1084" height="562" data-path="images/editor/assets/export-scripts.png" />
