Font

The font-family property in CSS specifies the typeface for text. It allows you to define which font should be used in your web page for a specific element.

Generic Font Families

These are keyword families that act as backups:

  • serif – Fonts with small lines (e.g., Times New Roman)

  • sans-serif – Fonts without lines (e.g., Arial)

  • monospace – Fixed-width fonts (e.g., Courier New)

  • cursive – Handwriting-style fonts

Font in Workmaster

The Font property in Workmaster specifies the font family for an individual widget, functioning similarly to the font-family property in CSS. If the property is not configured (i.e., left unset), the widget will inherit the global font family defined in the application's Design section.

Possible Values

Workmaster provides set of

Value
Description

Unset

Removes any explicitly assigned font family from the widget. The widget will inherit the font from the global Design settings.

Examples

  1. Arial Font:

Result: Paragraph text will use the Arial font. If Arial isn't available, a generic sans-serif font will be used.


  1. Times New Roman:

Result: The text will be displayed in Times New Roman or a serif font if it's unavailable.

Last updated