diff --git a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp index 97819045b..bc440a42b 100644 --- a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include "ScintillaEditView.h" #include "Parameters.h" #include "localization.h" @@ -314,7 +315,8 @@ void ScintillaEditView::init(HINSTANCE hInst, HWND hPere) if (hNtdllModule) isWINE = ::GetProcAddress(hNtdllModule, "wine_get_version"); - if (isWINE) // There is a performance issue under WINE when DirectWright is ON, so we turn it off if user uses Notepad++ under WINE + if (isWINE || // There is a performance issue under WINE when DirectWrite is ON, so we turn it off if user uses Notepad++ under WINE + ::IsWindowsServer()) // In the case of Windows Server Core, DirectWrite cannot be on. nppGui._writeTechnologyEngine = defaultTechnology; if (nppGui._writeTechnologyEngine == directWriteTechnology)