I had a piece of code that was designed to put a piece of text (basically copyright info) on the left-bottom of a picture and the website address on the right-bottom.
This code worked for months with no problem whatsoever.
However as of sometime last week, the arial bold "Photo copyright etc" has become some unreadable mass of squares and rectangles:

I haven't changed any code and this has happened on 2 websites I use similar code on (both hosted by the same company).
Basically is there a newer version of php that they could have upgraded to that is causing this error?
Anyone have a solution?
Code below - basically gets the orginal picture extends it by 12 pixels length adds a black bottom with a white text "copyright" on the bottom left and a picture of the website logo on the bottom right.
$pathmain3 = "mainpicture/path/$filename.jpg";
$pathmain1 = ImageCreatefromjpeg($pathmain3);
$pathmain4 = "logo/path/pmsm.jpg";
$pathmain2 = ImageCreateFromJPEG($pathmain4);
$height = imagesy($pathmain1);
$width = imagesx($pathmain1);
$string_width2 = 170;
$start = $width-$string_width2;
$heighttotal = $height+15;
$img = imagecreatetruecolor($width,$heighttotal);
$black = ImageColorclosest($pathmain1, 0, 0, 0); $white = ImageColorclosest($pathmain1, 255, 255, 255);
$info = "Photo Copyright © Danny Hill"; // text to be added
ImageFill($img, 0, 0, $black);
imagettftext($img, 10, 0, 3, $height+12, $white, "fonts/arialbd.ttf", $info);
imagecopy ($img, $pathmain2, $start, $height, 0, 0, $width, 15);
imagecopy($img, $pathmain1, 0, 0, 0, 0, $width, $height);
Header( "Content-type: image/jpeg");
ImageJPEG($img,'',100);
ImageDestroy($pathmain1);
ImageDestroy($img);
ImageDestroy($pathmain2);
?>
Thanks in advance,
Dan