iTextSharp/ iTextSharp Hindi Problem Solved Here
Changes in the File ITextHandler.cs
public override void Characters(string content, int start, int length)
{
[...]
if (bf == null) {
BaseFont bfComic = BaseFont.CreateFont (”c://windows//Fonts//ARIALUNI.ttf”, BaseFont.IDENTITY_H,BaseFont.EMBEDDED);
iTextSharp.text.Font font = new iTextSharp.text.Font(bfComic, 12);
currentChunk = new Chunk(buf.ToString(), font);
}
[...]
}
You Can use ArialUni/ Akshar / any other universal Unicode Font.
Font Path can be taken from any where. (It Depends).
Don’t use Mangal font because it contains only Hindi Table.
On 19th Jan 2006.
–
Dileep.M
E-mail: m.dileep@gmail.com ,
Phone: +91- 9926 33 44 64.
WebSite: http://mdileep.googlepages.com
Blog: http://mdileep.wordpress.com
