IFontSettingsData
Interfaces
IFontSettingsData
A configuration of font settings.
Example
{
"defaultItemsConfig": {
"text": {
"font": {
"postScriptName": "Impact",
"size": 33,
"fauxBold": true,
"fauxItalic": true
},
"color": "rgb(30,30,30)"
}
}
}
Properties
allCaps?
optional allCaps?: boolean;
Enables the all caps style for text. The default value is false.
fauxBold?
optional fauxBold?: boolean;
Enables the faux bold style for text. The default value is false.
fauxItalic?
optional fauxItalic?: boolean;
Enables the faux italic style for text. The default value is false.
postScriptName?
optional postScriptName?: string;
The font name. The default value is "Roboto-Regular".
previewSize?
optional previewSize?: string | number;
size?
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?
optional smallCaps?: boolean;
Enables the small caps style for text. The default value is false.