Problem in Html to PDF conversion for Mixed English/Arabic Languages

Hi,

We are in process of generating a pdf report from html content that contains both English and Arabic Languages.

The English content is shown correctly. However, for the Arabic language, the direction of letters for each word is shown from Left to Right and so the output obtained is wrong.

Attached are a sample or our C# source code (ProgramCode.pdf), the html content (HtmlContent.pdf), the pdf output obtained (ArabicTextOutput.pdf) and an image showing what the correct output should be (Sample-Output.png).ProgramCode.pdf (52.2 KB)
ArabicTextOutput.pdf (64.9 KB)
HtmlContent.pdf (75.5 KB)
Sample-Output.png (16.0 KB)

Could you please help us with this issue.

Thanks in advance and Regards

@BAUWebTeam

Thank you for contacting support.

We have worked with the data shared by you and have been able to reproduce the issue in our environment. A ticket with ID PDFNET-46156 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.

The issues you have found earlier (filed as PDFNET-46156) have been fixed in Aspose.PDF for .NET 22.8.