- change: Use freetype as the fontengine in windows

This commit is contained in:
Roy Qu 2023-09-22 08:05:05 +08:00
parent 9c6bd5a003
commit bb6c8acb1a
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@ Red Panda C++ Version 2.25
- enhancement: Improvement of terminal support ( from cyano.CN )
- enhancement: Virtual Terminal Sequences Support in windows 10/11 ( from cyano.CN )
- enhancement: Option "Enable Virtual Terminal Sequences Support" in Settings -> Executor
- change: Use freetype as the fontengine in windows
Red Panda C++ Version 2.24

View File

@ -245,7 +245,8 @@ int main(int argc, char *argv[])
{
#ifdef Q_OS_WINDOWS
// Make title bar and palette follow system-wide dark mode setting on recent Windows releases.
qputenv("QT_QPA_PLATFORM", "windows:darkmode=2");
// Use freetype as the fontengine
qputenv("QT_QPA_PLATFORM", "windows:darkmode=2:fontengine=freetype");
#endif
#ifdef Q_OS_MACOS