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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to