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

Free Support Forum - aspose.com

Text not alinged center for arabic characters


I am trying to write arabic text to existing pdf file along with english text, I write this text in a table with rows/cells format used.

The text is not aligned center even i set the alignment for cells which I am writing the text.

When we use english text the alignment looks to be fine, but if I add arabic text, then the alignment is going to bit left side.

Please find the attached screenshot for the same. attached the code snippet used to write the text on to pdf.


Hi Shivaji,

Thanks for your inquiry. I have tested your scenario and noticed that Arabic text is not being center aligned properly in table cell. So I have logged an issue in our issue tracking system as PDFNEWJAVA-35304 and also linked your request to it. We will keep you updated via this thread regarding the issue status.

We are sorry for the inconvenience caused.

Best Regards,

The issues you have found earlier (filed as PDFNEWJAVA-35304) have been fixed in Aspose.Pdf for Java 16.11.0.

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