PDFLib Functions

From: Date: Sun, 19 May 2002 08:57:47 +0000
Subject: PDFLib Functions
Groups: php.qa 
Request: Send a blank email to php-qa+get-5436@lists.php.net to get a copy of this message
Hi, I'm making an script to make an PDF file width 2 windows fonts (Times new Roman and BmOCRB). When I add the second font the PDF file issn't created. here ar my font dec. $font = pdf_findfont($pdf, "Times new roman", "winansi", 1); if ($font) { pdf_setfont($pdf, $font, 12); } etc,etc,etc pdf_setfont($pdf, $font, 20); // till here it's ok etc,etc,etc $font2 = pdf_findfont($pdf, "bmocrb", "winansi", 1); // Here I get no error or any warning if ($font2) { pdf_setfont($pdf, $font2, 12); }

« previous php.qa (#5436) next »