Newbie : Greek letters

Christopher Culver christopher_culverbutnotthis at yahoo.com
Fri May 7 14:29:56 EDT 2004


On Fri, 07 May 2004 03:52:36 +0000, asdf sdf wrote:
> Oh Kyu Yoon wrote:
>> Is there an easy way to include greek letter symbols in TextCtrl of
>> wxPython?
>> 
>> 
> this is only a idea.  no experience with it myself.  Try using SetFont
> to get Symbol font.  Symbol font is available on WinPCs.  Couldn't say
> about any other platforms though.

That is a bad idea. Not only does it break cross-platform compatibility
(the goal of wxWindows) by using a proprietary font, it totally ignores
Python's excellent Unicode support. Greek has it's own block in Unicode,
you just have to create the characters from there. Using special fonts to
overcome character sets is sooooo 1998.

Christopher Culver



More information about the Python-list mailing list