Pdf rendering inconsistencies

Hi,


we have noticed that when our data is placed within tables the pdf output renders values in different font sizes. However, in the html view the sizes are consistent. Please see attached pdf sample for comparison with below html view it is based upon:

Contract Information Sheet - Leisure Centre/Swimming Pool “The Works” Ebbw Vale - 1
body {
font-family: Verdana, Geneva, ‘DejaVu Sans’, sans-serif;
font-size: 9px;
width: 100%;
}

.main {
width: inherit;
border-collapse: collapse;
}

.heading {
background-color: #4E589E;
background: #4E589E;
color: #fff;
font-weight: bold;
padding: 0.2em 0 0.1em 0;
font-size: .6em;
}

.containerPadding {
margin: 0;
padding: 0.5em 0.5em 0.5em 0.1em;
}

.main > tbody > tr > td, .main, .pageHeader {
border: solid 2px #000;
}

td {
vertical-align: top;
}

.metrics {
width: inherit;
border-collapse: collapse;
margin: 0;
padding: 0;
}

.thirdWidth {
width: 33%;
}

.threeQuarterWidth {
width: 75%;
}

OTHER METRICS
Unbundling Score: 300
BIMM Level: 1
Category A Score: 0.00%
Operational Staff Incentive Pool: 40
Gross Internal Floor Area (m²): 0.00m2
Price Per m²: 25
Tablet Project: No





thanks!

Hi Pranav,

We are sorry for the inconvenience caused. While testing the scenario with the latest version of Aspose.Pdf for NET 9.1.0, We have managed to reproduce the reported issue and logged it in our bug tracking system as PDFNEWNET-36776 for further investigation and resolution. We will notify you via this thread as soon as it is resolved.

Please feel free to contact us for any further assistance.

Best Regards,

Hi, can you please give me an approximate date when this issue may be resolved as we are due to launch our product into live use and it is holding us up.

Hi Pranav,


Thanks for your patience.

The issue reported earlier is block by another task and therefore its not yet fixed. Unless the related issue is fixed, we might not be able to share any timelines by which PDFNEWNET-36776 will
be resolved.

However, as soon as we have made some significant progress towards the resolution of this issue, we would be more than happy to update you with the status of correction. Please be patient and spare us little time. Your patience and comprehension is greatly appreciated in this regard.

Nevertheless, your concerns have been shared with development team and they will definitely consider them during the resolution of this issue.

Hi,

has there been any progress towards the resolution of this issue?

Hi Pranav,


Thanks for your patience.

I have further discussed with development team and we plan to get this issue resolved in next release of Aspose.Pdf for .NET 9.3.0 which is planned for early June-2014 (however its not a promise but we will try our level best to get if resolved by the said time). Please be patient and wait for the new release.

The issues you have found earlier (filed as PDFNEWNET-36776) have been fixed in Aspose.Pdf for .NET 9.3.0.

Blog post for this release can be viewed over this link


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

Hi Pranav,


In reference to above fix, Please use new DOM approach for HTML to PDF conversion, it will help you to accomplish the task.

HtmlLoadOptions options = new HtmlLoadOptions();<o:p></o:p>

options.UseNewConversionEngine = true;<o:p></o:p>

Document pdfDocument = new Document(inFile, options);<o:p></o:p>

pdfDocument.Save(outFile);


Please feel free to contact us for any further assistance.


Best Regards,