[PHP] PDF Fonts

2003-09-07 Thread Seth Willits
What do I need to do to get fonts working for PDF creation? Running the script below, I get 2 errors. The first says "PDFlib error [2100] PDF_begin_page: Function must not be called in 'object' scope" on line 2. If I remove "test.pdf" and change it to "", then it reports "PDFlib error [2516

Re: [PHP] PDF Fonts Files

2002-02-20 Thread Rasmus Lerdorf
You need to sit through my PDF/PHP talk where I go through all this. See conf.php.net/paris2 specifically slides 7 and 8 In particular see the example: http://conf.php.net/pres/slides/intro/pdf_font_ex2.php the code for which is on slide #8. This example shows how to use each of the built-in

[PHP] PDF Fonts Files

2002-02-18 Thread Richard Lynch
Please Cc: me on replies... I recently installed PHP 4.1.0 + PDF 4.0.1 on my development box. I can't seem to get the PDF fonts to work properly at all... Here are a lot of details about things I understand, and a lot of remarks about what I half-understand. Note that, as a rule, font technol