[ wxwindows-Feature Requests-1617941 ] [wxMSW] PROOF_QUALITY system
option
SourceForge.net
noreply at sourceforge.net
Sat Jun 2 05:57:41 PDT 2007
Feature Requests item #1617941, was opened at 2006-12-18 12:42
Message generated for change (Comment added) made by vadz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=359863&aid=1617941&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: troelsk (troelsk)
Assigned to: Nobody/Anonymous (nobody)
Summary: [wxMSW] PROOF_QUALITY system option
Initial Comment:
Certain fonts became unavailable with 2.8.0 due to the introduction of PROOF_QUALITY. Please consider making it optional with wxSystemOptions.
For instance:
void wxNativeFontInfo::Init()
{
wxZeroMemory(lf);
// we get better font quality if we use this instead of DEFAULT_QUALITY
// apparently without any drawbacks
#ifdef __WXWINCE__
lf.lfQuality = CLEARTYPE_QUALITY;
#else
lf.lfQuality = wxSystemOptions::GetOptionInt(_T("msw.font.proof")) ? PROOF_QUALITY : DEFAULT_QUALITY;
#endif
}
Notes:
- I chose to close bug #1612272 (same issue)
- The hack I described there doesn't work for wxStyledTextCtrl (wxFont instances are kept private), hence this request for a global setting.
- Certain fonts: Terminal 6pt, great for code editing!
Thanks
----------------------------------------------------------------------
>Comment By: Vadim Zeitlin (vadz)
Date: 2007-06-02 14:57
Message:
Logged In: YES
user_id=71618
Originator: NO
Added msw.font.no-proof-quality system option (both HEAD and 2.8). But we
probably need a better API in wxFont itself for this as typically you might
want to use higher quality for some fonts even if default quality is enough
for most of them.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=359863&aid=1617941&group_id=9863
More information about the wx-dev
mailing list