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=ANTIALIASED_QUALITY seems a bad choice
-
- Newbie
- Posts: 3
- Joined: Mon Oct 11, 2010 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeFontAntiAlias=ANTIALIASED_QUALITY seems a bad choice
Hi David,
Thanks for your feedback. I have added your request to the list to be considered in next releases. I guess this was adopted to get better rendering quality.
Thanks for your feedback. I have added your request to the list to be considered in next releases. I guess this was adopted to get better rendering quality.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 3
- Joined: Mon Oct 11, 2010 12:00 am
Re: TeeFontAntiAlias=ANTIALIASED_QUALITY seems a bad choice
Well, it results in worse rendering, at least on my system (vanilla Windows 7).