Get font height with imagefontheight() together with imageloadfont() in PHP
Description
The following code shows how to get font height with imagefontheight() together with imageloadfont().
Example
/*w w w . ja va2s . co m*/
<?php
// Load a .gdf font
$font = imageloadfont('anonymous.gdf');
echo 'Font height: ' . imagefontheight($font);
?>