[wxPython-users] LCD vs CRT Monitors Issues (!)
Chris Mellon
arkanes at gmail.com
Mon Oct 1 09:01:30 PDT 2007
On 10/1/07, Andrea Gavana <andrea.gavana at gmail.com> wrote:
> Hi Chris,
>
> On 10/1/07, Chris Mellon wrote:
> > This looks like what happens when you re-draw anti-aliased text over
> > itself without erasing first. You probably have cleartype (which
> > anti-aliases text) turned on on your LCD, and not on your CRT (where
> > it tends to look terrible), which is why the bug correlates with your
> > monitor type.
> >
> > Try using a solid background mode when you draw your text instead of a
> > transparent brush.
>
> Thank you for your suggestion. However, FlatMenu has a gradient
> background (in the menu bar), so I suppose that using a solid
> background for the text might screw up this "nice-looking" effect...
>
> Andrea.
>
Erase and accept the flicker or double buffering are your only options, then...
I'm not sure which versions of wxPython you're supporting, but you
could also try using wxGC and draw the whole area at once, using a
gradient brush.
More information about the wxpython-users
mailing list