diff options
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 8c7a9adb9..30d72dd4b 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -365,7 +365,7 @@ struct FontDirectWrite : public FontWin { std::shared_ptr<Font> Font::Allocate(const FontParameters &fp) { #if defined(USE_D2D) - if (fp.technology == SCWIN_TECH_DIRECTWRITE) { + if (fp.technology != SCWIN_TECH_GDI) { return std::make_shared<FontDirectWrite>(fp); } #endif |