OpenTTD Source 20250905-master-g122023be8d
font_win32.cpp File Reference

Functions related to font handling on Win32. More...

#include "../../stdafx.h"
#include "../../debug.h"
#include "../../blitter/factory.hpp"
#include "../../core/math_func.hpp"
#include "../../error_func.h"
#include "../../fileio_func.h"
#include "../../fontcache.h"
#include "../../fontcache/truetypefontcache.h"
#include "../../library_loader.h"
#include "../../string_func.h"
#include "../../strings_func.h"
#include "../../zoom_func.h"
#include "font_win32.h"
#include "../../table/control_codes.h"
#include <windows.h>
#include <shlobj.h>
#include "win32.h"
#include "../../safeguards.h"

Go to the source code of this file.

Data Structures

struct  EFCParam
 
class  Win32FontCacheFactory
 

Functions

static int CALLBACK EnumFontCallback (const ENUMLOGFONTEX *logfont, const NEWTEXTMETRICEX *metric, DWORD type, LPARAM lParam)
 

Detailed Description

Functions related to font handling on Win32.

Definition in file font_win32.cpp.

Function Documentation

◆ EnumFontCallback()

static int CALLBACK EnumFontCallback ( const ENUMLOGFONTEX *  logfont,
const NEWTEXTMETRICEX *  metric,
DWORD  type,
LPARAM  lParam 
)
static

Definition at line 51 of file font_win32.cpp.