OpenTTD Source  20241108-master-g80f628063a
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.