TeeFontAntiAlias=ANTIALIASED_QUALITY seems a bad choice
Posted: Thu Oct 28, 2010 12:00 pm
In TeCanvas the following line appears to me to contain a bad choice of default value:
TeeFontAntiAlias:Byte=ANTIALIASED_QUALITY
For fonts that rely on clear type smoothing (e.g. Segoe UI, the MS C font family introduced with Office 2007) the resulting text looks dreadful. A much better choice would be DEFAULT_QUALITY and this is in fact what the plain vanilla Delphi TFont code uses when it calls CreateFontIndirect in TFont.GetHandle.
For what it's worth, the MSDN documentation of LOGFONT.lfQuality is terrible, but my understanding is that DEFAULT_QUALITY results in font smoothing based on the system settings. It makes sense to me for TeeChart to use the system settings as its default.
Obviously it's trivial for me to change TeeFontAntiAlias in my code but I wanted to pass this opinion on to you and so be a good citizen!
Cheers, David.
TeeFontAntiAlias:Byte=ANTIALIASED_QUALITY
For fonts that rely on clear type smoothing (e.g. Segoe UI, the MS C font family introduced with Office 2007) the resulting text looks dreadful. A much better choice would be DEFAULT_QUALITY and this is in fact what the plain vanilla Delphi TFont code uses when it calls CreateFontIndirect in TFont.GetHandle.
For what it's worth, the MSDN documentation of LOGFONT.lfQuality is terrible, but my understanding is that DEFAULT_QUALITY results in font smoothing based on the system settings. It makes sense to me for TeeChart to use the system settings as its default.
Obviously it's trivial for me to change TeeFontAntiAlias in my code but I wanted to pass this opinion on to you and so be a good citizen!
Cheers, David.