[wxMSW 2.8.0] Force font antialiasing?
Vadim Zeitlin
vadim at wxwindows.org
Sun Mar 4 12:43:54 PST 2007
On Sun, 18 Feb 2007 18:55:18 +0100 Alfonso De Prisco <adeprisco at almateq.com> wrote:
ADP> Is there a way to have antialiased text output in Windows regardless
ADP> from how the user sets up the global system antialiasing option?
ADP> If that system option has been set to "no antialiasing" then my
ADP> small/italic labels look too bad...
This is supported by Win32 (via ANTIALIASED_QUALITY flag in lfQuality
field of LOGFONT struct) but not by wx currently. We only have a way to
turn anti aliasing off (wxFont::SetNoAntiAliasing()) and even this is not
implemented under MSW. It shouldn't be hard to implement a more general
SetAAMode() method which would allow to turn AA on or off explicitly (by
default it would still be determined by the system-global setting, of
course), at least for MSW. Any patches in this direction would be warmly
welcome.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list