title: How to Create PDF file with Tamil Font by using itextsharp in C#?
body: <p>we are creating pdf files in our C# application by passing TAMIL text(one of the indian language).So, I already installed AVVAIYAR.TTF(one of the tamil font) font for my tamil language font.But when i run the below mentioned pgm, the created pdf file does not contain any tamil font display.It shows empty lines instead of the tamil text...</p>
  
  <p>C# Code:</p>
  
  <pre><code>Document document = new Document();
  PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(@"C:\pdfout.pdf", FileMode.Create));
  document.Open();
  
  PdfContentByte pcb = writer.DirectContent;
  Font ft = new Font();
  FontFactory.Register(@"C:\WINDOWS\Fonts\AVVAIYAR.TTF", "AVVAIYAR");
  ft = FontFactory.GetFont("AVVAIYAR");
  
  Paragraph pr1 = new Paragraph("இது முதல் பேரா", ft);
  Paragraph pr2 = new Paragraph("This is a Sub Paragraph");
  Paragraph pr3 = new Paragraph("This is the Second Paragraph");
  
  document.Add(pr1);
  document.Add(pr2);
  document.Add(pr3);
  document.Close();
  </code></pre>
  
  <p><strong>my output pdf file is :</strong></p>
  
  <pre><code>&lt;blank line&gt;
  This is a Sub Paragraph
  This is the Second Paragraph
  </code></pre>
  
  <p>And also i have to support some more indian languages to create the PDF files.</p>