title: Using Itext to generate pdf files a
body: <p>I am using Itext to generate pdf files  ... When I try to save a file in Arabic it is coming as blank  where as for English it is able to generate text in pdf file.</p>
  <pre><code>     File file = new File(pdfPath,&quot;INVOICE&quot;+&quot;_&quot;+ i  + &quot;_&quot;+t+&quot;_&quot;+ Date+&quot;.pdf&quot;);
      OutputStream outputStream = new FileOutputStream(file);
  
      PdfWriter writer = new PdfWriter(file);
      PdfDocument pdfDocument = new PdfDocument(writer);
      Document document = new Document(pdfDocument);
      Paragraph paragraph = new Paragraph();
          paragraph.add(&quot;नमस्ते &quot;)  ;
          document.add(paragraph);
          float columnWidth[] = {140,140,140,140};
          Table table = new Table(columnWidth);
          String s = &quot;      __    مرحبا       __   &quot; ;
          table.addCell(new Cell().add(new Paragraph(&quot; Invoice&quot;)) .setBorder(Border.NO_BORDER));
          table.addCell(new Cell().add(new Paragraph(s)).setBold() .setBorder(Border.NO_BORDER));
          table.addCell(new Cell().add(new Paragraph(&quot; &quot;)).setBorder(Border.NO_BORDER));
          table.addCell(new Cell().add(new Paragraph(&quot;# 00000000000&quot;)).setBorder(Border.NO_BORDER));
          document.add(new Paragraph(&quot;\n&quot;));
  </code></pre>