use PROOF_QUALITY in LOGFONT by default
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Jul 2006 12:49:21 +0000 (12:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Jul 2006 12:49:21 +0000 (12:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/font.cpp

index 5fcc96ffc8c6b82c7a739617a6bae6d1c16233a8..220d37e1b7bdd3891f1c8acece2ebd5f67d0e19b 100644 (file)
@@ -414,6 +414,10 @@ void wxFontRefData::Free()
 void wxNativeFontInfo::Init()
 {
     wxZeroMemory(lf);
+
+    // we get better font quality if we use this instead of DEFAULT_QUALITY
+    // apparently without any drawbacks
+    lf.lfQuality = PROOF_QUALITY;
 }
 
 int wxNativeFontInfo::GetPointSize() const