Search found 1 match
- Wed Jun 30, 2004 8:36 am
- Forum: PHP - Code
- Topic: Need help with imagettfbbox function
- Replies: 0
- Views: 190
Need help with imagettfbbox function
Hi, I used imagettfbbox function for calculating text width and my code was:- ----------------------------------------- $bbox = imagettfbbox($font_size, 0, $font_file, $text_string); $width_text = abs($bbox[4] - $bbox[6]); # width of the text $height_text = abs($bbox[7] - $bbox[1]); # height of the ...