---
title: "IFontSettings Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.ifontsettings.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IFontSettings Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A configuration of font settings.
  
 - example
     - ```
{
    "defaultItemsConfig": {
        "text": {
            "font": {
                "postScriptName": "Impact",
                "size": 33,
                "fauxBold": true,
                "fauxItalic": true
            },
            "color": "rgb(30,30,30)",
            "shadow": {
                "color": "rgb(255,0,0)",
                "size": 0.4,
                "angle": 45,
                "distance": 2
            },
            "stroke": {
                "size": 0.3
            },
            "overflowStrategy": "FitToWidth",
            "textPermissions": {
                "allowChangeFontColor": false,
                "allowChangeShadow": false,
                "allowChangeStroke": false
            }
        }
    }
}
```
 
## Properties
 
### Optional allCaps
 
allCaps: boolean

Enables the all caps style for text. The default value is `false`.
 
### Optional fauxBold
 
fauxBold: boolean

Enables the faux bold style for text. The default value is `false`.
 
### Optional fauxItalic
 
fauxItalic: boolean

Enables the faux italic style for text. The default value is `false`.
 
### Optional postScriptName
 
postScriptName: string

The font name. The default value is `"Roboto-Regular"`.
 
### Optional size
 
size: number  |  string

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.
