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

Free Support Forum - aspose.com

Mixed font horizontal alignment


When converting a xlsx to pdf, text with different font in the same paragraph gets aligned incorrectly. Attached are the original xlsx, the pdf generated by aspose, and the pdf generated by Excel itself.



Thanks for your posting and using Aspose.Cells.

We were able to observe an issue with the output PDF generated with Aspose.Cells. Please see the screenshot that highlights the issue that we have observed. Is this the issue you are facing? Please confirm.

If you are facing some other issue, please highlight it in a screenshot with red circles around it.

It will help us look into your issue precisely and we will be to fix it quickly. Thanks for your cooperation.

Shakeel, you got it right. This is the only issue with the PDF. Thanks!


Thanks for your confirmation and using Aspose.Cells.

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-43219 - Aspose.Cells PDF output does not match with Excel

For CELLSNET-43219,please try our latest version Aspose.Cells 21.6.0.
If you find any issue, please provide the source Excel file to help us analyze it.