OpenTTD Source 20251213-master-g1091fa6071
FontCacheSubSetting Struct Reference

Settings for a single font. More...

#include <fontcache.h>

Data Structures

struct  FontCacheFallback
 

Data Fields

std::string font
 The name of the font, or path to the font.
 
uint size
 The (requested) size of the font.
 
std::vector< FontCacheFallbackfallback_fonts
 

Detailed Description

Settings for a single font.

Definition at line 249 of file fontcache.h.

Field Documentation

◆ fallback_fonts

std::vector<FontCacheFallback> FontCacheSubSetting::fallback_fonts

Definition at line 259 of file fontcache.h.

◆ font

std::string FontCacheSubSetting::font

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

Definition at line 250 of file fontcache.h.

Referenced by CheckForMissingGlyphs(), IsDefaultFont(), and SurveyFont().

◆ size

uint FontCacheSubSetting::size

The (requested) size of the font.

Definition at line 251 of file fontcache.h.

Referenced by GetFontCacheFontSize(), and SurveyFont().


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