PDFLIB error 2516

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
I upgraded my test system to 4.3.9 (from 4.3.4) and now run into problems
with pdf creation. Scripts that ran fine before now return the following
error:

Fatal error: PDFlib error: [2516] PDF_findfont: Metrics data for font
'Arial' not found in d:\website\pdf_graph.php on line 50


Has anybody seen this before and knows of the solution? Google returned no
hits that solved the problem.

<snip>

pdf_open_file($pdf, "d:\\website\\graphs.pdf");

pdf_set_info($pdf, "Author", "Automatically Generated");
pdf_set_info($pdf, "Title", "Management graphs");
pdf_set_info($pdf, "Creator", "Jacob A. van Zanen");
pdf_set_info($pdf, "Subject", "Management Graphs");



pdf_begin_page($pdf, 700, 600);
$bookmark1 = pdf_add_bookmark($pdf, "Information for machine SBPXXA1");
$arial = pdf_findfont($pdf, "Arial", "host", 1); pdf_setfont($pdf, $arial,
12);  //-----this is line 50
pdf_show_xy($pdf, "1	Information for machine SBPXXA1 for $_POST[day]/
$_POST[month]/$_POST[year]",50, 510); 


</snip>



TiA

Jack van Zanen





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux