hI
Writing , php script which creates a button etc.. how ever i get an error
putenv('GDFONTPATH=/usr/share/fonts/');
$fontname ='arial.TTf';
i think here i need to know the correct folder and name for a font under linux, the book gives me a windows reference so im guessing this one
// find out the size of the text at the font size
$bbox=imagettfbbox ($font_size, 0, $fontname, $button_text);
this way $fontname will be referenced correctly later on
thanks 🙂