cohtml::FontDescription

Struct used for identifying fonts.

#include <System.h>

Public Attributes

Name
const char *FontFamily
Specifies the font family Pass nullptr to use the original font family specified in the font when registering it.
Fonts::FontStyleStyle
Specifies the style of the font Pass Auto to use the original font style specified in the font when registering it.
Fonts::FontWeightWeight
Specifies the weight of the font Pass Auto to use the original font weight specified in the font when registering it.

Public Attributes Documentation

variable FontFamily

const char * FontFamily = nullptr;

Specifies the font family Pass nullptr to use the original font family specified in the font when registering it.

variable Style

Fonts::FontStyle Style = Fonts::FS_Auto;

Specifies the style of the font Pass Auto to use the original font style specified in the font when registering it.

variable Weight

Fonts::FontWeight Weight = Fonts::FW_Auto;

Specifies the weight of the font Pass Auto to use the original font weight specified in the font when registering it.