Dear All,
I was trying to write a python program to generate PDF in tamil
language with JAGPDF.
The code is given below...
import jagpdf
doc = jagpdf.create_file("test.pdf")
doc.page_start(597.6,848.68)
can =
doc.page().canvas()
can.text(50,760,"ஆங்கிலம")
dejavu = doc.font_load("file=lohit_ta.ttf; size=14")
can.text_font(dejavu)
doc.page_end()
doc.finalize()
when i executing the code .i m getting the following error...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/python-support/python2.5/jagpdf.py", line 73, in
finalize
def finalize(*args): return _jagpdf.Document_finalize(*args)
jagpdf.Exception: 06-30013 Cannot output font Lohit Tamil.
06-30014 Font referenced but no characters were used.
How to solve this error..?
Thanks in Advance,
Gopalasivam