Back to Website
Show / Hide Table of Contents

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 false.

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 false.

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 false.

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 "Roboto-Regular".

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, 8) or as a percentage of the height of the print area (for example, "15%"). The default value is 10 pt.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback