OpenTTD Source: src/os/macosx/font_osx.h File Reference

OpenTTD Source 1.11.0-RC1

Data Structures | Functions
font_osx.h File Reference
`#include "../../fontcache_internal.h"`
`#include "os/macosx/macos.h"`
`#include <CoreFoundation/CoreFoundation.h>`

Go to the source code of this file.

## Data Structures
class | CoreTextFontCache

## Functions
void | LoadCoreTextFont (FontSize fs)
| Loads the TrueType font. More...

## Detailed Description

Functions related to font handling on MacOS.

Definition in file font_osx.h.

## Function Documentation

## ◆ LoadCoreTextFont()

void LoadCoreTextFont | ( | FontSize | fs | ) |

Loads the TrueType font.

If a CoreText font description is present, e.g. from the automatic font fallback search, use it. Otherwise, try to resolve it by font name.

Parameters

  fs | The font size to load.

Definition at line 349 of file font_osx.cpp.

References settings.