[visionegg] Re: unicode problem

  • From: Andrew Straw <astraw@xxxxxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Thu, 26 Nov 2009 09:14:49 -0800

Felix Engelmann wrote:
Hi,
I am very new to visionegg.  I need it for eyetracking stimuli
presentation, especially for Hindi.
I followed the installation instructions for windows and tried out the
displayUnicode.py demo from the 1.0 package.
It does not show the correct characters for most of the demo languages.

(complex and east asian language support is installed in WinXP;
In my editor all languages apart from classical greek and korean look ok.)

Does anyone know the problem? Did I miss anything? I don't know
whether the problem is in windows, python, pygame, visionegg, or
opengl...

Thanks for help,
Felix
Hi Felix -- my first guess is that you need to use a font file that actually has the glyphs required. Change the line "font_name = r'C:\Windows\Fonts\Arial.ttf'" to a ttf font file that you know has the correct glyphs. (I don't know what that would be, especially on Windows, but I hope you can figure that out. What font do you normally use to display Hindi characters?)

-Andrew

--
Andrew D. Straw, Ph.D.
California Institute of Technology
http://www.its.caltech.edu/~astraw/

======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: