Hi All,
I thought I had grasped a bit of the unicode mess, but I have been
bitten again and I don't even know how.
As a starter, I would like to display a particular symbol in a
matplotlib axis label. But, as I can't do it, I thought to try it with
wxPython (by drawing it in an OnPaint handler) to find out where my
problem is.
The symbol I am trying to display is the "NEUTER" unicode character:
Python code: u"\u26B2"
Reference: http://www.fileformat.info/info/unicode/char/26b2/index.htm
There are not that many fonts supporting that symbol, but I do have
the one I need (Deja Vu Sans), as explained here:
http://www.fileformat.info/info/unicode/char/26b2/fontsupport.htm
However, when I try to draw it, I only get a square symbol. I attach a
very simple script that demonstrate the problem. What am I doing
wrong?
This is on Windows XP SP2, Python 2.5.2, wxPython 2.8.10.1 (msw-unicode).
Thank you for your suggestions.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
http://thedoomedcity.blogspot.com/
neuter.py (1.28 KB)