IFontSettings Interface

A configuration of font settings for watermark text.

example
configuration = {
    watermark: {
        text: {
            text: "watermark",
            fontSettings: {
                postScriptName: "ArialMT",
                size: 14,
                fauxBold: false,
                fauxItalic: false
            },
            scale: 0.28,
            opacity: 0.5
        },
        image: {
            name: "watermark.png",
            repeat: true,
            opacity: 0.1
        },
        visibility: {
            proof: true,
            canvas: true
        }
    }
};

Properties

fauxBold

fauxBold: boolean

Enables the faux bold style for watermark text.

fauxItalic

fauxItalic: boolean

Enables the faux italic style for watermark text.

postScriptName

postScriptName: string

The font name of watermark text.

size

size: number

The font size of watermark text, in points.