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

Free Support Forum - aspose.com

Diferent experience conversion excel to pdf in cells for java

With the same library in windows environment the conversion mantein the print area.

In linux environment the conversion to pdf include a blank area in the botton of the pdf.

Environment especs
- JBOSS 7.1
- JDK 1.7
- Aspose cells 8.6.1

Thank you for your answers

Hi David,


Thank you for contacting Aspose support.

If you are getting different results on Windows & Linux for same revision of the Aspose.Cells for Java API then the most probable reason is the missing fonts in Linux environment. Please note, Aspose.Cells APIs require the fonts (used in the spreadsheet) to be available in the environment because the API needs the exact fonts to correctly calculate the glyph size and consequently the size of the page.

Please do the following to troubleshoot the problem,
  • Go through the following articles,
  • In case the problem persists even after setting the font location in your application, please give a try to the latest version of the API just to make sure that the said problem isn’t version specific. Please note, the latest version at the moment is 8.6.3.2.
  • If you still do not get results as of produced in Windows environment then please share the sample spreadsheet with us here so we could perform tests to assist you further in this regard.