title: PDFbox runs into error (how to calculate the position for non-simple fonts)
body: <p>I am using pdfbox to fill up a form in my pdf file, application is able to show number of available fields on the form but it returns the following error </p>
  
  <pre><code>  Messages:     
       Error: Don't know how to calculate the position for non-simple fonts
       File:  org/apache/pdfbox/pdmodel/interactive/form/PDAppearance.java
       Line number:   616
  </code></pre>
  
  <p><strong>Code</strong></p>
  
  <pre><code>.....
  
  while (fieldsIter.hasNext()) {
                  PDField field = (PDField) fieldsIter.next();
                  setField(pdf, field.getPartialName(), "My input");
                  //setField(pdf, field.getFullyQualifiedName(), "My input");
  }
  
   .....
  
  
  
   public void setField(PDDocument pdfDocument, String name, String value) throws 
   IOException {
          PDDocumentCatalog docCatalog = pdfDocument.getDocumentCatalog();
          PDAcroForm acroForm = docCatalog.getAcroForm();
          PDField field = acroForm.getField(name);
          if (field != null) {
              field.setValue(value);
          } else {
              System.err.println("No field found with name:" + name);
          }
  
      }
  </code></pre>
  
  <p>Please let me know if you need any other part of the code.</p>