textFont

fun textFont(textFont: List<String>): Expression.FormatSectionBuilder
fun textFont(textFont: Expression): Expression.FormatSectionBuilder

If set, the text-font argument overrides the font specified by the root layout properties.

"text-font" is required to be a literal array.

The requested font stack has to be a part of the used style. For more information see The online documentation.

Parameters

textFont
fun textFont(block: Expression.ExpressionBuilder.() -> Unit): Expression.FormatSectionBuilder

If set, the text-font argument overrides the font specified by the root layout properties.

"text-font" is required to be a literal array.

The requested font stack has to be a part of the used style. For more information see The online documentation.