1.26.2.1
Gameface
cohtml::FontDescription Struct Reference

Struct used for identifying fonts. More...

Public Attributes

const char * FontFamily = nullptr
 Specifies the font family Pass nullptr to use the original font family specified in the font when registering it. More...
 
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. More...
 
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. More...
 

Detailed Description

Struct used for identifying fonts.

Member Data Documentation

◆ FontFamily

const char* cohtml::FontDescription::FontFamily = nullptr

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

◆ Style

Fonts::FontStyle cohtml::FontDescription::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.

◆ Weight

Fonts::FontWeight cohtml::FontDescription::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.