![]() |
|
#1
|
|||
|
|||
I installed hebrew on my computer and ran the following script and it displayed the attached image. Is the text in the image real hebrew?
Code:
# coding: UTF-8 import viz viz.go() text = viz.addText('קראטוןםפשדגכעיחלךזסבהנמצ',viz.SCREEN,pos=(0.5,0.5,0),align=viz.TEXT_CENTER_CENTER) |
#2
|
|||
|
|||
still didn't work
The text in the image is real hebrew indeed, but when i run your code
on my computer (after copy pasting) i still don't get the right characters... The computer does work with hebrew in general... any ideas why? |
#3
|
|||
|
|||
What characters show up? Other than enabling UTF-8 encoding from the file menu, you shouldn't have to do anything else.
|
#4
|
|||
|
|||
Another problem might be that the arial font on your system does not support hebrew. Vizards default font is arial.ttf. Try changing the font of the text object to something that supports hebrew. You can set the font using the following sample code:
Code:
text.font('font.ttf') |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
McAfee Privacy Service 8.1 causes Vizard not to run | mspusch | Vizard | 2 | 09-24-2008 05:17 PM |
Vizard and Augmented Reality | realvision | Vizard | 4 | 04-04-2008 10:59 AM |
Vizard won't run | wouters | Vizard | 5 | 02-05-2008 11:12 AM |
Fall 2007 release of Vizard R3 | 3 D | Announcements | 0 | 10-15-2007 04:50 PM |
McAfee Privacy Service 8.1 causes Vizard not to run | mspusch | Vizard | 0 | 03-01-2007 08:24 PM |