need help with unicode

wxpython 2.5.1.5u python 2.3 WinXP platform
I need to be able to show all the unicode characters in a text field, how do I set it up? what font should I use? if I let wxpython take care of the font it seams to find one that displays the glyphs BUT I need to increase the size of the font and to do that I need to mangle with the font SO.... what font should I use?

Any idea, be it code or a pointer to an external website, are wellcomed.

···

--
Peter Damoc
Hacker Wannabe
http://www.sigmacore.net/about.html

Peter Damoc wrote:

wxpython 2.5.1.5u python 2.3 WinXP platform
I need to be able to show all the unicode characters in a text field, how do I set it up? what font should I use? if I let wxpython take care of the font it seams to find one that displays the glyphs BUT I need to increase the size of the font and to do that I need to mangle with the font SO.... what font should I use?

Try this:

  font = textCtrl.GetFont()
  font.SetPointSize(newSize)
  textCtrl.SetFont(font)

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

well... duh.... :smiley: how stupid can I be.... :smiley:

Thanks again, Robin :smiley:

···

On Tue, 06 Apr 2004 11:42:13 -0700, Robin Dunn <robin@alldunn.com> wrote:

Peter Damoc wrote:

wxpython 2.5.1.5u python 2.3 WinXP platform
I need to be able to show all the unicode characters in a text field, how do I set it up? what font should I use? if I let wxpython take care of the font it seams to find one that displays the glyphs BUT I need to increase the size of the font and to do that I need to mangle with the font SO.... what font should I use?

Try this:

  font = textCtrl.GetFont()
  font.SetPointSize(newSize)
  textCtrl.SetFont(font)

--
Peter Damoc
Hacker Wannabe
http://www.sigmacore.net/about.html