Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Rick C. Hodgin
  Where is Rick C. Hodgin?
 Indiana - United States
 Rick C. Hodgin
 To: Bernard Bout
  Where is Bernard Bout?
 Bernard Bout
Subject: RE: Texts get thicker
Thread ID: 373671 Message ID: 373754 # Views: 53 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Tuesday, March 26, 2013 12:19:57 PM         

> > I am working on an application and I am using various png images on the forms (for
> > window header/footer, elements splitters, and so on). I have a problem I have never
> > faced before. When click-ing on different items on a form (especially on labels)
> > the text become thicker and the colors loose their sharpness. Same thing applies when
> > clicking on an image
> The solution is to switch off Clear Type smoothing.

I would suggest this is not a solution, but is a work-around, and not a very good one because it also diminishes the quality of all other applications on the system by forcing them all to use Standard anti-aliasing rather than ClearType anti-aliasing.

The method outlined by Paul is a better solution because it fixes the issue in VFP (where the issue exists), allows the user to keep using ClearType in general on their system, and it doesn't alter the appearance of every other application.

The solution Paul outlines is also easily implementable via a first-level subclassing of base controls, and the introduction of the work-around at that level (thereby preventing it from being ever needed outside of that one class).

Best regards,
Rick C. Hodgin


Texts get thicker Posted by Lucian Ilea @ 3/25/2013 7:42:56 AM
RE: Texts get thicker Posted by Paul Gibson @ 3/25/2013 9:51:11 AM
RE: Texts get thicker Posted by Lucian Ilea @ 3/25/2013 12:09:54 PM
RE: Texts get thicker Posted by Bernard Bout @ 3/26/2013 7:36:11 AM
RE: Texts get thicker Posted by Lucian Ilea @ 3/26/2013 10:49:05 AM
RE: Texts get thicker Posted by Rick Hodgin @ 3/26/2013 12:19:57 PM