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

Free Support Forum - aspose.com

Poor quality openofice xls to pdf convertion

I have a problem with xls to pdf conversion

- test.xls is the source file (OpenOffice created)
- test.pdf is the OpenOffice pdf conversion
- out.pdf is Aspose.Cells conversion

the quality of Aspsose is poor…maybe some missing settings ?

my code:
package aspose;

import com.aspose.cells.FileFormatType;
import com.aspose.cells.Workbook;

public class Aspose {
public Aspose() {
try {
Workbook workbook = new Workbook("/test.xls");
workbook.save("/out.pdf", FileFormatType.PDF);
} catch (Exception e) {

public static void main(String[] args) {
Aspose aspose = new Aspose();


Thanks for your posting and using Aspose.Cells for Java.

We have tested your issue with the latest version and found the quality of the output pdf is poor. We have logged your issue in our database with the issue id: CELLSJAVA-40455

Once, we will have some update for you, we will share it with you asap.


Thanks for your posting and using Aspose.Cells for Java.

The excel file you provided is using Arial font and in your environment, the Arial font dose not exist, then Aspose uses LucidaSans to convert, so we ask you to please install Arial font and set CellsHelper.setFontDir.

And Aspose using dash borderline the same as Print preview in excel.

The footer in page1 is overlapped with content, it is also the same as Print preview in excel.


dash borderline solved
footer solved
OpenOffice and Excel are quite different…tuned source xls file.

Arial font installed on SO…result is better…but not “perfect”…
thake a look to the file…
maybe some filtering ? wrong arial font ?
any ideas?



Thanks for your posting and using Aspose.Cells.

Please set the font directory and see if it resolves your issue. Font directory is set using CellsHelper.setFontDir() method.


Please try our latest version/fix: Aspose.Cells for Java v16.12.0:

If you still have problems, please highlight them with details.

Thank you.