OpenTTD Source: FontCacheSubSetting Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
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 172 of file fontcache.h.

## Field Documentation

## ◆ font

std::string FontCacheSubSetting::font

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

Definition at line 173 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 176 of file fontcache.h.

Referenced by CheckForMissingGlyphs(), and IsDefaultFont().

## ◆ size

uint FontCacheSubSetting::size

The (requested) size of the font.

Definition at line 174 of file fontcache.h.

Referenced by GetFontCacheFontSize().

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

- src/fontcache.h