I am trying to use the Image module to create Hebrew caption bitmaps. when printing from the shell (in standby mode), I was able to print Hebrew, but when I try to draw text into a bitmap, it draws some inscriptions ascii.
this is the code:
import Image
import ImageDraw
a = "ืืจืืื"
im=Image.new('RGB',(200,200),(100,100,100))
d=ImageDraw.Draw(im)
d.text((0,0),a)
im.show()
Any help would be greatly appreciated.
ariel source
share