Hello all, I am unable to draw kannada compound characters ಕ್ಕಾ , ಪೈ, ವೋ etc
over an image using ImageDraw module's draw method. Below is my code,
#-*- coding:utf8 -*-
import sys, codecs, string
import Image
import ImageDraw
import ImageFont
txt = 'ಕ್ಕಾ '
font = ImageFont.truetype('Malige-n.ttf',20)
im = Image.new("RGBA",(800,600),(100,155,100))
draw = ImageDraw.Draw(im)
draw.text( (0,100), unicode(txt, 'UTF-8'), font=font2)
del draw
im.save('font.png', "PNG")
im.show()
And attached output image file displays 'ಕ್ಕಾ' by splitting it, but what i
want is to display ಕ್ಕಾ as it is.
Please suggest me where i went wrong.
Thanks & Regards
Shilpa
<<attachment: font.png>>
_______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
