diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-22 14:09:03 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-22 14:09:03 +1100 |
commit | c5c27fdb1ae181945221363319ace17c51d4e40e (patch) | |
tree | 0c7f70394b2b05da37e938bfd428f6da4e1842df /qt/ScintillaEditBase/PlatQt.cpp | |
parent | 53bdcb15b3fd50dbc917e652953f1df4a5a5e493 (diff) | |
download | scintilla-mirror-c5c27fdb1ae181945221363319ace17c51d4e40e.tar.gz |
Choose antialiased drawing on Qt as it matches other platforms more closely.
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.cpp')
-rw-r--r-- | qt/ScintillaEditBase/PlatQt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt/ScintillaEditBase/PlatQt.cpp b/qt/ScintillaEditBase/PlatQt.cpp index d8925c247..9510efa92 100644 --- a/qt/ScintillaEditBase/PlatQt.cpp +++ b/qt/ScintillaEditBase/PlatQt.cpp @@ -915,6 +915,8 @@ QPainter *SurfaceImpl::GetPainter() // Set text antialiasing unconditionally. // The font's style strategy will override. painter->setRenderHint(QPainter::TextAntialiasing, true); + + painter->setRenderHint(QPainter::Antialiasing, true); } return painter; |