---
title: "IFontSettingsData | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-interfaces/IFontSettingsData/"
---

# IFontSettingsData

> A configuration of font settings.

## Interfaces

### IFontSettingsData

#### Example

```json
{
   "defaultItemsConfig": {
       "text": {
           "font": {
               "postScriptName": "Impact",
               "size": 33,
               "fauxBold": true,
               "fauxItalic": true
           },
           "color": "rgb(30,30,30)"
       }
   }
}
```

#### Properties

##### allCaps?

```ts
optional allCaps?: boolean;
```

Enables the all caps style for text. The default value is `false`.

##### fauxBold?

```ts
optional fauxBold?: boolean;
```

Enables the faux bold style for text. The default value is `false`.

##### fauxItalic?

```ts
optional fauxItalic?: boolean;
```

Enables the faux italic style for text. The default value is `false`.

##### postScriptName?

```ts
optional postScriptName?: string;
```

The font name. The default value is `"Roboto-Regular"`.

##### previewSize?

```ts
optional previewSize?: string | number;
```

##### size?

```ts
optional size?: string | number;
```

The font size in points (for example, `8`) or as a percentage of the height of the print area (for example, `"15%"`). The default value is `10` pt.

##### smallCaps?

```ts
optional smallCaps?: boolean;
```

Enables the small caps style for text. The default value is `false`.
