font problems in ezPDF

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
hi all!

I use ezPDF like this

$pdf = new Cezpdf('a4','potrait');

$tmp = array(
  'bb'=>'Times-Roman.afm' );

$codeFont = 'fonts/Courier.AFM';


The problem is that I cannot change the font, it remains to be
Helvetica... the fonts folder is present, moving the files and checking
whether they are corrupt does not change anything.

Can anyone explain?
Or send their way of doing this?

->Secondly, where do I get a newer version of ezPDF, I have 0.9 for


Re: font problems in ezPDF

Quoted text here. Click to load it

I've never had any trouble with changing the font. Maybe you should ask this  
at the ezpdf support forums.

"ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)  

Re: font problems in ezPDF

Kimmo Laine wrote:
Quoted text here. Click to load it

I found one thing... remove the .afm then it works,

$codeFont = 'fonts/Courier';

but later on, I still get an error sometimes when opening the document,
that the font cannot be found (in adobe that is), and it defaults to

The forum is down - will check later on

Site Timeline