could not find a font in the resources dictionary - using Helvetica instead

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

steve800

Thread Starter
Joined
Apr 6, 2010
Messages
2
could not find a font in the resources dictionary - using Helvetica instead

On FREEBSD 7 system running on a DELL desktop, with Apache22, PHP5, MySQL:

I'm getting the above message when I try to create a PDF file using exPDF in PHP on a FreeBSD system running Apache22 web server.

This message appears to show up, only when I use FIREFOX! When I run the script in IE, it seems to be running OK.

Would anyone have ANY idea what's causing this?

Any assistance is appreciated.
 
Joined
Sep 12, 2003
Messages
20,583
The default font used by Firefox for display is serif (look in Firefox>Edit>Preferences>Content). That said, I would assume that there is an incompatibility between the content you may have grabbed from Firefox(?) and attempted to paste into the expdf in php(?). I would google for font +expdf or font +php and hope to find font libraries that you could install to support whichever one is causing the problem (it is not likely Firefox).

What is the script you are running?

If the script is a bash script, can you modify the first line and change it to:
#!/bin/bash
to
#!/bin/bash -x
in order to get it to emit its execution stream to output and then post the output - so we can see exactly where the problem occurs?

-- Tom
 

steve800

Thread Starter
Joined
Apr 6, 2010
Messages
2
Thanks for the info ...

running a php script to create a PDF doc from scratch ... got 98.5% figured out and get that error at run-time ... just got in this AM ... will test an idea I received in my halfzeimer's brain at 3AM ...
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top