title: Get the font height of a character in PDFBox
body: <p>There is a method in PDFBox's font class, PDFont, named getFontHeight which sounds simple enough. However I don't quite understand the documentation and what the parameters stand for. </p>
  
  <blockquote>
    <p><a href="http://pdfbox.apache.org/apidocs/org/apache/pdfbox/pdmodel/font/PDFont.html#getFontHeight%28byte%5B%5D,%20int,%20int%29" rel="noreferrer"><code>getFontHeight</code></a>
    This will get the font width for a character. </p>
    
    <p><strong>Parameters:</strong> </p>
    
    <ul>
    <li>c - The character code to get the width for. </li>
    <li>offset - The offset into the array.  length </li>
    <li>The length of the data. </li>
    </ul>
    
    <p><strong>Returns:</strong>  The width is in 1000 unit of text space, ie 333 or 777</p>
  </blockquote>
  
  <p>Is this method the right one to use to get the height of a character in PDFBox and if so how? Is it some kind of relationship between font height and font size I can use instead? </p>