ho questo script che fino a 3 giorni fa andava e ora mi dā un errore di metrcs data, da voi funziona?
<?
$pageWidth=595;
$pageHeight=842;
$myPDF=pdf_new();
pdf_open_file($myPDF,"pippo.pdf");
pdf_begin_page($myPDF,$pageWidth,$pageHeight);
//INSERISCO IL TEST0
$arial=pdf_findfont($myPDF, "Arial", "host", 1);
pdf_setfont($myPDF, $arial, 10);
pdf_show_xy($myPDF,"FATTURA", 400,792);
pdf_end_page($myPDF);
pdf_close($myPDF);
?>