---
Product: Aspose.Slides
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/java/IFontData
---

# IFontData

## Overview

`IFontData` is a interface in Aspose.Slides FOSS for Java.

Represents a font definition.

This interface provides 2 methods for working with IFontData objects in Java programs.
Available methods include: `getFontName`.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `fontName`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `fontName` | `String` | Read | Returns the font name. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getFontName()` → `String` | Returns the font name. |
| `getFontName(theme: Object)` → `String` | Returns the font name, resolved against the given theme. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)