note 13603 added to function.pdf-findfont.php
| From: | martin at better-com dot de | Date: | Sat, 23 Jun 2001 14:36:07 +0000 |
| Subject: | note 13603 added to function.pdf-findfont.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14590@lists.php.net to get a copy of this message | ||
For using pdf_findfont with pdf_setfont it's a good idea to copy your fonts to a separate
directory, i.e. /usr/local/fonts. You should also copy the upr file which comes with PDFlib to this
directory. The example code above did not work here until I put a
pdf_set_parameter($pdf, "resourcefile", "/usr/local/fonts/pdflib.upr");
before the line with pdf_findfont().
http://www.php.net/manual/en/function.pdf-findfont.php