I got the same error message, and couldn't figure out why...
In the example for pdf_findfont(), it has:
$font = pdf_findfont($pdf, "Times New Roman", "winansi", 1);
Try changing your embed parameter to 0...
$font = pdf_findfont($pdf, "Times New Roman", "winansi", 0);
... That fixed it for me. Give it a try.
--Matt
-----Original Message-----
From: Adam Oliver [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 9:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] pdflib + pdf_findfont
I can't get pdf_findfont to work in Linux. I keep getting a message
that the font metrics are not found. It works fine in windows. Anybody
have any ides what I need to have set?
--
--------------------------------------
Adam Oliver
http://www.meyedev.com/people/aoliver.htm
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]