title: HPDF units for text width and height
body: <p>Maybe it's just my head spinning, but there seems to be no documentation on the units of measure for HPDF's <code>HPDF_Font_TextWidth()</code> function, nor can I figure it out.</p>
  
  <p>The number I get for a particular text of 7 characters is around 3000. The rendered text seems to be around 80 pixels, which is also returned from <code>HPDF_Page_TextWidth()</code>.</p>
  
  <p><code>HPDF_Font_TextWidth()</code> does not know the font size so it must use some other unit. What is it?</p>
  
  <p>And is that the same unit that <code>HPDF_Font_GetBBox()</code> returns?</p>
  
  <p>I'm actually trying to put text in the center of a rectangle, and need the width and height of the text in the units of the rectangle.</p>