Fonts on Win32

Cliff Wells wrote:

In recent versions of wxPython, I've noticed that on Win32, I'm not
getting AA fonts. GTK looks fine. wxPython 2.5.2 looked fine on
Win32. wxPython 2.5.x (x > 4 or so) have looked terrible. I doubt it's
my PC as the embedded IE browser looks fine.

Fonts in general (native controls and self-drawn) or just those drawn on a wx.DC? Any differences between fonts drawn at larger or smaller sizes? (I think AA is turned off by default for point sizes smaller than 12 or 14 on win2k. Check in Display Settings.)

There havn't been any significant chages at all to src/msw/font.cpp for 10 months, and about 6 months for wxDC::DrawText.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Cliff Wells wrote:
> In recent versions of wxPython, I've noticed that on Win32, I'm not
> getting AA fonts. GTK looks fine. wxPython 2.5.2 looked fine on
> Win32. wxPython 2.5.x (x > 4 or so) have looked terrible. I doubt it's
> my PC as the embedded IE browser looks fine.

Fonts in general (native controls and self-drawn) or just those drawn on
a wx.DC?

Just in wx.DC. Sorry for the omission :stuck_out_tongue:

Any differences between fonts drawn at larger or smaller
sizes? (I think AA is turned off by default for point sizes smaller than
12 or 14 on win2k. Check in Display Settings.)

I'll give this a try and see if it changes anything. I might be
"barking up the wrong tree", though. The fonts look so bad, I'm
wondering if it's even using scalable fonts. Is there a way to find
out?

Regards,

···

On Mon, 2004-08-16 at 10:48, Robin Dunn wrote:

--
Cliff Wells <clifford.wells@comcast.net>

Cliff Wells wrote:

Any differences between fonts drawn at larger or smaller sizes? (I think AA is turned off by default for point sizes smaller than 12 or 14 on win2k. Check in Display Settings.)

I'll give this a try and see if it changes anything. I might be
"barking up the wrong tree", though. The fonts look so bad, I'm
wondering if it's even using scalable fonts. Is there a way to find
out?

You could check the font's facename and compare with your installed fonts.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!