OpenTTD Source 20241224-master-gee860a5c8e
truetypefontcache.h File Reference

Common base definition for font file based font caches. More...

#include "../fontcache.h"

Go to the source code of this file.

Data Structures

class  TrueTypeFontCache
 Font cache for fonts that are based on a TrueType font. More...
 
struct  TrueTypeFontCache::GlyphEntry
 Container for information about a glyph. More...
 

Variables

static const int MAX_FONT_SIZE = 72
 Maximum font size.
 
static const uint8_t FACE_COLOUR = 1
 
static const uint8_t SHADOW_COLOUR = 2
 

Detailed Description

Common base definition for font file based font caches.

Definition in file truetypefontcache.h.

Variable Documentation

◆ FACE_COLOUR

const uint8_t FACE_COLOUR = 1
static

Definition at line 18 of file truetypefontcache.h.

◆ MAX_FONT_SIZE

const int MAX_FONT_SIZE = 72
static

Maximum font size.

Definition at line 16 of file truetypefontcache.h.

◆ SHADOW_COLOUR

const uint8_t SHADOW_COLOUR = 2
static

Definition at line 19 of file truetypefontcache.h.