title: Get the width and height of a string in pixel (PHP)
body: <p>Is there any good function to calculate the pixel width and height? Can imagettfbbox be used to do that? I mean which ttf file is needed for the different fonts used by different browsers?</p>
  
  <p>Thx</p>