[wxPython-users] How to load custom ttf font?
Robin Dunn
robin at alldunn.com
Wed Dec 27 12:21:46 PST 2006
Christopher Barker wrote:
> Robin Dunn wrote:
>>> Is there a way to load a TrueType (TTF) font at runtime?
>>
>> No.
>
> This would, however be great to have
I agree.
> -- Robin, do you have any idea what
> it would take to do it? Major effort?
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. 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.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list