FontSpec

The FontSpec class represents a specification for a font. The constructor is accessible from scripts.

Fields

Methods

init( family, style, size )

Creates a new FontSpec with the given family, style and size.

Constants

Font Style Type

PLAIN

Indicates a style of plain.

BOLD

Indicates a style of bold. This can be or’ed with ITALIC.

ITALIC

Indicates a style of italic. This can be or’ed with BOLD

Font Size Type

AUTOSIZE

Indicates the size should be determined algorithmically. Only used for the entityTitleFont field of Document.

Last updated