wxpython custom fonts

mateusz.kruszynski at gmail.com mateusz.kruszynski at gmail.com
Wed Apr 29 20:47:09 EDT 2009


Hi, I`m going to build a small wxpython-based application. The problem
is that I need to use a custom (dedicated) font in my text controls
with special characters (of course I`ll need to create a simple editor
for inserting those characters into text controls, but that`s not the
case). Documentation states that the only valid font families are:
wx.FONTFAMILY_DEFAULT
wx.FONTFAMILY_DECORATIVE
wx.FONTFAMILY_ROMAN
wx.FONTFAMILY_SCRIPT
wx.FONTFAMILY_SWISS
wx.FONTFAMILY_MODERN
wx.FONTFAMILY_TELETYPE

Does it mean that I simply can`t use a custom font family? If no, how
can i do that?

regards
mat



More information about the Python-list mailing list