ICommonConfig Interface

A structure for common font settings.

example
configuration = {
    widgets: {
        common: {
            fauxBold: true,
            fontSize: {
                max: 50,
                min: 5,
                step: 5
            },
            tracking: {
                max: 100,
                min: -50,
                step: 25
            },
            leading: {
                max: 50,
                min: 5,
                step: 5
            }
        }
    }
};

Properties

Optional fauxBold

fauxBold: boolean

Enables the faux bold style. The default value is false.

Optional fauxItalic

fauxItalic: boolean

Enables the faux italic style. The default value is false.

Optional fontSize

fontSize: IRangeParams

Sets font size range.

Optional gallery

Sets default settings of the Gallery.

Optional leading

leading: IRangeParams

Sets font leading range.

Optional tracking

tracking: IRangeParams

Sets font tracking range.

Optional underline

underline: boolean

Defines whether the item should be underlined. The default value is false.