I'm trying to use imagettftext, but apparently it uses point size in GD2, but all of my sizes are in pixels, is there any other function that I can use, or any way to convert pixels to points ?
If you're super-lazy, then this might work as an approximation:
$fontsizeinPT = ($fontsizeinPX*3)/4;
See http://reeddesign.co.uk/test/points-pixels.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With