[wxPython] How to use wxFont()?

Hi,

I'm trying to use wxFont to set large fonts:
eg.

font = wxFont(60, wxSWISS, wxNORMAL, wxBOLD, false, "Arial")

but I get edgy (ugly) font.

What did I do wrong?

--thomas

lec wrote:

I'm trying to use wxFont to set large fonts:
eg.

font = wxFont(60, wxSWISS, wxNORMAL, wxBOLD, false, "Arial")

but I get edgy (ugly) font.

Platform and version?

What did I do wrong?

If you are on wxGTK and don't have an "Arial" font installed, and/or don't have a scalable font server running, then the system will compensate by scaling up some other font, probably a bitmap font.

ยทยทยท

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