Aspose cell version 7.4.1.0 Framework version 4.0
I'm importing from a csv file using the Cells.ImportCSV() function. The csv input encondig is "iso-8859-1" and I'm converting to utf-8.
I apply some format on the sheet and use the AutoFitColum and AutoFitRow, also set the isTextWrapped property to true for those cells.
When application runs in local machine (windows xp) I got the expected result. Pdf has no overlap, however when I deploy the dlls in server (Windows server 2008 R2) I got a PDF with overlap and quite different from local enviroment. Check Attachments
Regional Configuration is equal in both machines, What I'm missing here??
I have installed all fonts in server, and update the dlls I’m still having same problem.
I also create a console application extracting code from the WS, and run it in the server, I got the expected result. However still having the problem when I run it in the WS
Hi,
Well, that’s really strange that it works fine even in a separate console application but not on your server. Could also try to manually specify the fonts using the APIs on your Server folder(where all the fonts are installed fine) if it makes any difference:
Sample code:
E.g
CellsHelper.FontDir = @“C:\Windows\Fonts”;
Workbook book = new Workbook(@“E:\test2\Book1.xlsx”);
PdfSaveOptions pso = new PdfSaveOptions();
//pso.DefaultFont = “Arial”;
book.Save(@“E:\test2\outtestBook.pdf”, pso);
Thank you.
Hi
I did the test, unfortunately it didn't work, I aso try to use different fonts. I'm getting the same problem :(. Any other ideas that I can try?
Hi
I have add the solution with the code that I'm using in the server, I checked the user set up in the IIS Application pool and it's in administrator groups, also I double checked fonts, I added the missing ones however nothing has change. Can you please check the code and help me to find the solution?
Hi,
Thanks for the sample project.
Well, I have tested your service based project (wcf application) and could not find the issue in the output PDF on my Windows 7/8 system. We need to test your issue on Windows server 2008 R2 if we could find this issue as per your screen shot in your first post.
I have logged a ticket with an id “CELLSNET-41559” for your issue. We will look into your issue soon. Once we have any update on it, we will let you know here.
Thank you.
Hi Amajad Any news about the ticket CELLSNET-41559, I’m still having the problem.
Hi,
I am afraid, your issue is still under process. I have asked the relevant developer to update on it, we will update or give details immediately here once we have any.
By the way, could you download and try with our latest fix/version: Aspose.Cells for .NET v7.4.3.3 if it sorts it out as we have made some more enhancements regarding formattings in the PDF rendering module.
Thank you.
Hi,
Thanks for using Aspose.Cells.
Please try the latest version: Aspose.Cells
for .NET v8.5.2.2 it should fix your issue. Let us know your feedback.
If it is still not OK,
please share us the generated pdf with problem.
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan