You are here: font problems in ezPDF « PHP Programming Language « IT news, forums, messages
font problems in ezPDF

Posted by Sonnich on 09/30/77 11:51

hi all!

I use ezPDF like this

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

$tmp = array(
'b'=>'Courier-Bold.AFM',
'i'=>'Courier-Oblique.AFM',
'bi'=>'Courier-BoldOblique.AFM',
'ib'=>'Courier-BoldOblique.AFM',
'bb'=>'Times-Roman.afm' );
$pdf->setFontFamily('Courier.AFM',$tmp);

$codeFont = 'fonts/Courier.AFM';
$pdf->selectFont($codeFont);

$pdf->addText(.....

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
now.

BR
Sonnich

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация