Add: [Win32] GDI engine for font glyph rendering as a replacement for including FreeType.

Building with FreeType is still possible and will take precedence over the GDI renderer, but
the project files don't include FreeType anymore by default. Combining GDI rendering with ICU
text layout is untested.
This commit is contained in:
Michael Lutz
2018-11-25 02:00:42 +01:00
committed by Owen Rudge
parent a8b6e9f23c
commit 2675762ae9
15 changed files with 325 additions and 38 deletions

View File

@@ -39,7 +39,7 @@
#include "sound_func.h"
#include "company_func.h"
#include "rev.h"
#ifdef WITH_FREETYPE
#if defined(WITH_FREETYPE) || defined(_WIN32)
#include "fontcache.h"
#endif
#include "textbuf_gui.h"
@@ -68,7 +68,7 @@
#include "void_map.h"
#include "station_base.h"
#if defined(WITH_FREETYPE)
#if defined(WITH_FREETYPE) || defined(_WIN32)
#define HAS_TRUETYPE_FONT
#endif