Is there a way to get PHP imagettftext()
font height?
I know that we can get width by imagettfbbox()
. Can we get the height too?
Is there a way to get PHP imagettftext()
font height?
I know that we can get width by imagettfbbox()
. Can we get the height too?
Yes, you evidently can simply be looking at the documentation. Scroll down and use your browsers find function to search for the following:
jodybrabec at gmail dot com
Below his name he provides a nice cusotm function for you to use. (got a link actually right here, no need to use the find function: http://php.net/manual/en/function.imagettfbbox.php#105593)