Bu kodu kendine göre düzenle:

function getFontData($url)
{
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$data = curl_exec($ch);
curl_close($ch);

// Use regular expressions to match all font data.
preg_match_all("/(.*?)<\/font>/i", $data, $matches);

return $matches[1];
}