PFDLib Function Problem
| From: | Maurice Kevenaar | Date: | Sun, 19 May 2002 09:27:08 +0000 |
| Subject: | PFDLib Function Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-98353@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);
}
--
Maurice