We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Different cells spacing between Aspose version when using pdf export

Hello we have upgrade our version from 7.4.3 to 8.7.2 in order to fix other problem introduces with Arial Font v2.40 update (Aspose Cell Forum Thread #689887). Now we have some “spacing” issues in some report. The issue may look small in the screen shot but it is one of many “spacing” problems we have. We have created a console application running on a machine where font Arial Narrow 2.37 only is installed. The code of the console application is pretty simple.



#1 Console application (Ref the aspose cell 7.4.3 DLL)

Workbook book = new Workbook(“file.xls”);

book.Settings.CultureInfo = new CultureInfo(“fr-CA”);

PdfSaveOptions so = new PdfSaveOptions(SaveFormat.Pdf);

so.EmbedStandardWindowsFonts = true;

book.Save(“file_aspose7.4.3_font2.37_(forceWithFont).pdf”, so);



#2 Console application (Ref the aspose cell 8.7.2 DLL)

Workbook book = new Workbook(“file_lite.xls”);

book.Settings.CultureInfo = new CultureInfo(“fr-CA”);

PdfSaveOptions so = new PdfSaveOptions(SaveFormat.Pdf);

so.EmbedStandardWindowsFonts = true;

book.Save(“file_aspose8.7.2_font2.37_(forceWithFont).pdf”, so);



Please note that the font install on the machine that generate and open the pdf should be Arial Narrow 2.37 and not 2.40 in order to get the problem.

Hi,

Thanks for your posting and using Aspose.Cells.

Please provide us your source excel file used in your code so that we could run your code at our end and replicate this issue. Once we will replicate this issue, we will log it in our database for investigation and a fix. Thanks for your cooperation.

Sorry here is the file simple. Zoome at 400% you will see more easily the problem.

Hi,

Thanks for your posting and using Aspose.Cells.

We were able to observe this issue after converting your source excel file into pdf using the latest version Aspose.Cells for .NET v8.7.0.3 as per your description.

We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as

  • CELLSNET-44251 - Different cells spacing when exporting to pdf

I have also attached the output pdf generated with the following code for a reference.

C#
Workbook workbook = new Workbook(“file.xls”);

workbook.Save(“output.pdf”);

Hi,

Thanks for using Aspose.Cells.

It is to inform you that we have fixed your issue CELLSNET-44251 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

Hi again,


Please try the latest version of Aspose.Cells for .NET 8.7.1.4 (attached) for the issue logged earlier as CELLSNET-44251.

The issues you have found earlier (filed as CELLSNET-44251) have been fixed in this update.


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