title: How to get font size of form field on iText7?
body: <p>How can I get font size of a PDF form field on iText7?</p>
  
  <p>On iText5, I could do it as this:</p>
  
  <pre><code>PdfReader reader = new PdfReader(SRC);
  PdfStamper stamper = new PdfStamper(reader, outputStream);
  AcroFields fields = stamper.getAcroFields();
  
  AcroFields.Item item = fields.getFieldItem(FIELDNAME);
  PdfDictionary merged = item.getMerged(0);
  TextField textField = new TextField(null, null, null);
  fields.decodeGenericDictionary(merged, textField);
  float fontSize = textField.getFontSize();
  </code></pre>
  
  <p>I could not find how I can do this on iText7. How can I do this?</p>