Interface IFontSettingsData
A configuration of font settings.
Package: @aurigma/design-atoms-interfaces
Examples
{
"defaultItemsConfig": {
"text": {
"font": {
"postScriptName": "Impact",
"size": 33,
"fauxBold": true,
"fauxItalic": true
},
"color": "rgb(30,30,30)"
}
}
}
Properties
allCaps
Enables the all caps style for text. The default value is false
.
Declaration
allCaps?: boolean;
Property Value
Type | Description |
---|---|
boolean | Enables the all caps style for text. The default value is |
fauxBold
Enables the faux bold style for text. The default value is false
.
Declaration
fauxBold?: boolean;
Property Value
Type | Description |
---|---|
boolean | Enables the faux bold style for text. The default value is |
fauxItalic
Enables the faux italic style for text. The default value is false
.
Declaration
fauxItalic?: boolean;
Property Value
Type | Description |
---|---|
boolean | Enables the faux italic style for text. The default value is |
postScriptName
The font name. The default value is "Roboto-Regular"
.
Declaration
postScriptName?: string;
Property Value
Type | Description |
---|---|
string | The font name. The default value is |
previewSize
Declaration
previewSize?: number | string;
Property Value
Type | Description |
---|---|
number | string |
size
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.
Declaration
size?: number | string;
Property Value
Type | Description |
---|---|
number | string | The font size in points (for example, |