title: stb_truetype calculating the dimensions of a string
body: <p>I'm using <a href="https://github.com/nothings/stb/blob/master/stb_truetype.h" rel="nofollow"><code>stb_truetype</code></a> to render TrueType fonts in an OpenGL context.</p>
  
  <p>Is there any simple way to pre-determine the height and width of a string in the font before it is rendered?</p>