title: unable to print one pdf fonts text to another pdf?
body: <p>I have pdf in <a href="http://anils.com/DraftRolls/PDFGeneration.aspx?urlPath=D%3a%5C%5CSSR_2013_FINAL%20ROLLS%5C%5CAC_238%5C%5CTelugu%5C%5CS01A238P038.PDF" rel="nofollow">telufu pdf</a> (replace anils.com with  123.176.47.55) I want extract some text from that pdf (like in that pdf page no 3 firtst block data I need to read) for that I download all fonts for that page using <a href="http://code.google.com/p/mupdf/downloads/detail?name=mupdf-1.3-windows.zip&amp;can=2&amp;q=OpSys=Windows" rel="nofollow">mupdf-1.3-windows</a></p>
  
  <p>it downloads all fonts that pdf uses but when I write that text by using those fonts to another pdf some of the texts not  redered the code is like </p>
  
  <pre><code>//output file name
  public static String pdf1 = "C:\\Documents and Settings\\Administrator\\Desktop\\itextpdf\\anil.pdf";
  
  public static void main(String[] args) throws IOException, DocumentException {
      try {
          PdfReader reader = new PdfReader(new URL("http://anils/DraftRolls/PDFGeneration.aspx?urlPath=D%3a\\SSR_2013_FINAL+ROLLS\\AC_238\\Telugu\\S01A238P038.PDF"),null);
          System.out.println("This PDF has "+reader.getNumberOfPages()+" pages.");
  
          // reading page no 3 
          String page = PdfTextExtractor.getTextFromPage(reader, 3);                     
  
          // all fonts I had checked total of 7 fonts but I didn't get all the fonts 
          BaseFont f = BaseFont.createFont("C:\\Documents and Settings\\Administrator\\Desktop\\itextpdf\\fonts\\AAAAAD+Gautami-0174.ttf", "", BaseFont.EMBEDDED);
          Font telugu = new Font(f, 18.0f, Font.BOLD);
  
          Paragraph description = new Paragraph(page,telugu);
  
          // description.setAlignment(Paragraph.ALIGN_CENTER); 
  
          Document document = new Document();
          // step 2
          PdfWriter.getInstance(document, new FileOutputStream(pdf1));
          // step 3
          document.open();
          document.add(description);
          document.close();
      }
      catch(Exception e)
      {
          System.out.println(e);
      }
  }
  </code></pre>
  
  <p>some of the text never matched for any font how to solve this?</p>