OpenTTD Source 20241224-master-gf74b0cf984
FontCacheSubSetting Struct Reference

Settings for a single font. More...

#include <fontcache.h>

Data Fields

std::string font
 The name of the font, or path to the font.
 
uint size
 The (requested) size of the font.
 
const void * os_handle = nullptr
 Optional native OS font info. Only valid during font search.
 

Detailed Description

Settings for a single font.

Definition at line 192 of file fontcache.h.

Field Documentation

◆ font

std::string FontCacheSubSetting::font

The name of the font, or path to the font.

Definition at line 193 of file fontcache.h.

Referenced by CheckForMissingGlyphs(), and IsDefaultFont().

◆ os_handle

const void* FontCacheSubSetting::os_handle = nullptr

Optional native OS font info. Only valid during font search.

Definition at line 196 of file fontcache.h.

Referenced by CheckForMissingGlyphs(), and IsDefaultFont().

◆ size

uint FontCacheSubSetting::size

The (requested) size of the font.

Definition at line 194 of file fontcache.h.

Referenced by GetFontCacheFontSize().


The documentation for this struct was generated from the following file: