I’m using Aspose.PDF for .Net 21.3 to turn XML files into PDFs
We recently noticed some Arabic characters were changed during the PDF rendition:
The Arabic text looks like this in input: الو بيروت
And this is what we’re getting in the PDF: ول توريب
The lines of code I’m using are simply as below:
Dim options As XslFoLoadOptions = New XslFoLoadOptions()
Using pdfGenerated As Document = New Document(foInputPath, options)
pdfGenerated.Save(pdfOutputPath)
End Using
I tried using version 23.8 of Aspose.PDF and I had the same issue
The XML we start from, the FO file generated from it and the output PDF file are in the folder I uploaded. We can see the Arabic characters look fine in the XML and FO files but not in the PDF
Arabic characters Aspose.zip (42.8 KB)
Thanks in advance for your support