We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

DOCX to PDF Unicode Fonts conversion problem

I am converting DOCX to PDF with following code:

        Dim converter As New Syncfusion.DocToPDFConverter.DocToPDFConverter

        converter.Settings.PdfConformanceLevel = Syncfusion.Pdf.PdfConformanceLevel.Pdf_A1B
        Dim pdfDocument As Syncfusion.Pdf.PdfDocument = New Syncfusion.Pdf.PdfDocument(Syncfusion.Pdf.PdfConformanceLevel.Pdf_A1B)
        pdfDocument = converter.ConvertToPDF(documentToMerge)

        'Saves the PDF file 
        Dim outStr As System.IO.MemoryStream = New System.IO.MemoryStream()
        pdfDocument.Save("d:\Templates\Output.pdf")
        pdfDocument.Close(True)

The original document stream "documentToMerge" is made of only "Arial Unicode MS" fonts, the output PDF file is showing english text OK. But all Gujarati unicode characters are misarranged. (Probably words split at erratic characters, or adding spaces between characters, or skipping some characters).
Submitting herewith original docx and output PDF for comparison. Please have a look at gujarati text in output file.


Attachment: ConvertError_a3a45759_eb89598a.zip

1 Reply

VR Vijay Ramachandran Syncfusion Team November 7, 2016 06:57 AM UTC

Hi Paras,

Thank you for using Syncfusion products.

Kindly follow the incident to track the status of your query which has been created under your account. Please log on to our support website to check for further updates,

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let me know if you have any questions.

Regards,
Vijay R
 


Loader.
Live Chat Icon For mobile
Up arrow icon