Tim, I tried using "monospace" and it looks like it works fine. If it works as well in Linux that's what I'll use.
Thanks! James Simmons On Sun, Dec 12, 2010 at 7:06 PM, Tim Evans <[email protected]> wrote: > On 2010-12-13 13:31, James Simmons wrote: >> >> Dieter, >> >> Good catch! It seems to be an issue with the Courier font in Windows. >> If I replace the line that specifies the font with one saying "Sans >> 12" everything is fine and I'm guessing that the mysterious >> disappearing cursor problem might be improved too. >> >> I had reasons for wanting to use a Courier font, but for Windows users >> of my program this is a useful workaround. > > On Windows you should use "Courier New" rather than "Courier" anyway. > Courier is an old bitmap font which is probably why it doesn't work > properly, Courier New is the truetype version. > > You could also use the font name "monospace" which will default to a useful > monospaced font. I'm not sure what the standard GTK+ install uses but it > should be Consolas where available (Vista and 7 for sure) falling back to > Courier New otherwise. > > -- > Tim Evans > Senior Software Engineer > ARANZ Geo Limited > p: +64 3 374 6120 | e: [email protected] > Level 6, 227 Cambridge Terrace, PO Box 3894, Christchurch, New Zealand > www.aranzgeo.com > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ > _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
