Additions:
== howto use zend php pdf library to write a pdf (using a 'standard' pdf font)==
$pdf->save('pdf.pdf');
== howto use zend php pdf library to embed a font into a pdf==
You need to get and download a free libre open source font sucha as 'Liberation' first
set_include_path('library' . PATH_SEPARATOR . get_include_path());
$font = Zend_Pdf_Font::fontWithPath('ttf/LiberationSans-Regular.ttf');
$pdf->save("pdf.pdf");
$pdf->save('pdf.pdf');
== howto use zend php pdf library to embed a font into a pdf==
You need to get and download a free libre open source font sucha as 'Liberation' first
set_include_path('library' . PATH_SEPARATOR . get_include_path());
$font = Zend_Pdf_Font::fontWithPath('ttf/LiberationSans-Regular.ttf');
$pdf->save("pdf.pdf");
Deletions:
Additions:
// ++ setup and configure Zend 1.8 & 2.0
// -- setup and configure Zend 1.8 & 2.0
// -- setup and configure Zend 1.8 & 2.0