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

Christopher Barker Chris.Barker at noaa.gov
Wed Dec 27 13:12:14 PST 2006


Robin Dunn wrote:
> I'm not sure.  It may depend on how much you want to do with the font. 
> Being able to use it as a wxFont would probably be a major effort 
> because as I understand it each of the platforms has different levels of 
> support for this.

Darn. That is what I had in mind.

> However using the glyphs in the ttf file as vector 
> drawings or bitmaps might be doable with the help of a 3rd party lib 
> like freetype.

That would be cool too. In fact, I'm just remembering why I recently 
needed this, and it was wanting to use a ttf for bitmaps (O ended up 
doing screenshots and making pngs out of them, but this would have been 
nicer!

-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