PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Problem in rendering PDF using HTML
   PostPosted: 17 May 2010, 09:04 
Hi,

I am using PD4ML Pro to convert the HTML to PDF. The HTML whatever I've is created correctly but when I pass that HTML to PDF4ML to convert it as PDF it is not converting properly.

1. I have configured the pd4fonts.properties.
2. In my code am using, pdf4ml.usettf("C:\\Windows\\Fonts", true);

I am attaching the sample HTML, pd4fonts.properties and the custom ttf file for reference. It would be great if someone can tell me what is going wrong when I convert to PDF.

Regards,
Nataraj


Attachments:
File comment: Sample files
PDF4ML.zip [197.14 KiB]
Downloaded 201 times
  Subject: Re: Problem in rendering PDF using HTML
   PostPosted: 17 May 2010, 22:05 
In your HTML you refer to Arial font: <font style="font-family: Arial">

however in pd4fonts.properties there is no "Arial" entry. I've found only:

ArialCV=ArialCV.ttf

If you want to use ArialCV.ttf, you need either to change font references in HTML to <font style="font-family: ArialCV"> or the entry in pd4fonts.properties to

Arial=ArialCV.ttf

The second is recommended.


  Subject: Re: Problem in rendering PDF using HTML
   PostPosted: 18 May 2010, 04:42 
Hi,

If you see the first entry in the pd4fonts.properties it has the following:-
Arial=arial.ttf


  Subject: Re: Problem in rendering PDF using HTML
   PostPosted: 18 May 2010, 12:41 
Well, what kind of problem are you faced with?



[Reply]     [ 4 posts ] 

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share