PDFLib
| From: | Randall Barber | Date: | Thu, 22 Feb 2001 04:51:31 +0000 |
| Subject: | PDFLib | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5680@lists.php.net to get a copy of this message | ||
Hello there,
I have installed the CGI (windows installer) version of PHP.
I later downloaded the complete ZIP so I could have the DLLs.
I installed everything under C:\PHP
\PHP\EXTENSIONS
\PHP\PDF-RELATED
Now, within PHP, I try to call pdf_set_font($pdf, "Times-Roman", 12, "host", 1);
Do to a lack of information in the PHP manuals (for instance, where fonts need to reside; how you
call them if they don't reside there (whereever that is); what the difference between host,
winansi, etc... are.) I need some guidance.
I received two errors:
PDFLIB.UPR not found (so I moved it into the Inetpub\wwwroot directory (which is where the script
was running)).
That solved that error.
Times-Roman font description stuff not found (so I moved the Times-Roman.afm file into the
inetpub\wwwroot directory)
This did nothing.
Are there environment variables I need to set?
Where do the fonts go?
How do I install more fonts?
What is the difference between the 'host', 'winansi' etc.. things?
A point in the right direction is sufficient (I don't mind reading), but if not, someone please
fill in the blanks.
Thank you in advance
Randall Barber