FAQ Index - Search - Recent Changes - Everything - Add entry

<< Previous Entry | FAQ Entry 21.11 | Next Entry >>

21.11. Is it possible to have antialiased fonts on Win32?

Fonts on Windows are drawn by GTK+ using the native win32 calls; therefore, you need to have font smoothing enabled in Windows itself. Note that Windows will not smooth fonts within certain point sizes (6pt - 10pt for most fonts) unless you are using Windows XP.

On versions other than WinXP, you can enable font smoothing on Windows by following these steps:

And on Windows XP:

Note that GTK and Pango do not use Xft on Windows, so the GDK_USE_XFT flag doesn't have any meaning there.

(James and Tim Evans)

PyGTK FAQ Wizard | PyGTK Homepage | Feedback to faq at pygtk.org