[wxPython-users] How to load custom ttf font?

Christopher Barker Chris.Barker at noaa.gov
Fri Dec 29 09:27:37 PST 2006


Roger Binns wrote:
>> Christopher Barker wrote:
>> I ended up doing screenshots and making pngs out of them, but this would have been
>> nicer!

> Pygame works with ttf fonts:
> 
> ~  http://www.pygame.org/docs/ref/font.html
> ~  http://wiki.wxpython.org/index.cgi/IntegratingPyGame

So does PIL, so I could have used that, rather than screen shots, but it 
would still be nice to be able to generate a wxFont by pointing to a ttf 
file....

Thanks,
-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list