I am having a problem with fpdf and its eps extension that I can't seem to get past it. This is what my code looks like:
define('FPDF_FONTPATH','fpdf/font/');
require('fpdf/fpdf_eps.php');
$pdf = new PDF_EPS();
$pdf->AddPage();
$pdf->ImageEps("images/image.eps",50,100);
$pdf->AddPage();
$pdf->SetFont('Arial','B',14);
$pdf->MultiCell(0,5,"some text with multiple lines");
$pdf->Output("filname.pdf", "D");
And this is what I constantly get:
Strict Standards: Only variables should be passed by reference in (...php file and line...)
FPDF error: Could not include font metric file
Any help will be greatly appreciated.
The eps extension can be found here: http://valentin.dasdeck.com/fpdf/fpdf_eps