Hi Paulo,
Here is the code snippet.
Earnestly awaiting your reply.
 
Thank you.
 
Sincerely yours,
Pal.
 
 
 BaseFont normal=null;
   BaseFont bold=null;
   normal = BaseFont.createFont("c:\\winnt\\fonts\\arial.ttf",BaseFont.IDENTITY_H,BaseFont.NOT_EMBEDDED);
   bold = BaseFont.createFont("c:\\winnt\\fonts\\arialbd.ttf",BaseFont.IDENTITY_H,BaseFont.NOT_EMBEDDED);
   
   Font font10=new Font(normal, 10, Font.NORMAL , null);
   Font font10B=new Font(bold, 10, Font.BOLD , null);
   document.add(new Paragraph("Hello World", font10));
   document.add(new Paragraph("Hello World", font10B));
 
Generate a PDF and view the PDF using Acrobat 5.0.1 3/27/2001. It comes very fine with 5.1.0 9/7/2002 and even comes fine in Acrobat 4+ versions.
 
If you don't have this particular version(  5.0.1 3/27/2001), please downlaod it at:
http://tucows.wave.net.br/mmedia/adnload/194959_75067.html
 
 
 
 


Paulo Soares <[EMAIL PROTECTED]> wrote:
Post a small runnable code example that generates the problem.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Pal Perinbam [SMTP:[EMAIL PROTECTED]
> Sent: Monday, June 23, 2003 14:21
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Bold fonts not displayed
>
> Hi All,
> I generate a PDF file in iText. I use Arial TTF files for fonts.
> Bold fonts are not properly displayed in Acrobat 5.0.1 3/27/2001 version.
> With other versions (say 4), they come fine.
>
> Only with the version mentioned above, I face this problem and this
> problem is very peculiar and I am clueless. Please answer me.
>
> Do I need any patch for this version?
>
> Awaiting your reply.
>
> Thank you.
> Aravind
>
> _____
>
> Do you Yahoo!?
> SBC Yahoo! DSL
> > /sbc/> - Now only $29.95 per month!



Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Reply via email to