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

Free Support Forum - aspose.com

Text not centered in pdf

In the pdf output produced directly from aspose (document BALANCE.pdf) the text sticks on the upper line and is not centered as it is when the pdf is produced directly from EXCEL (BALANCE_FromEXCEL.pdf)

TextNotCenteredInPDF.zip (131.7 KB)


Please notice, I am able to reproduce the issue as you mentioned by simply converting your template file to PDF via Aspose.Cells for Java API. I found text in the cells is not centered (aligned) properly in the output PDF in Excel to PDF rendering. I have logged a ticket with an id “CELLSJAVA-43487” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.


This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.


The issue is fixed in v21.6.2.
aspose-cells-21.6.2-java.zip (7.3 MB)

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