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.
Unfortunately, activation email could not send to your email. Please try again.

DOCX to PDF Unicode Fonts conversion problem

Thread ID:

Created:

Updated:

Platform:

Replies:

127257 Nov 5,2016 08:08 AM Nov 7,2016 01:57 AM Windows Forms 1
loading
Tags: DocIO
Paras Mehta
Asked On November 5, 2016 08:08 AM

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

Vijay Ramachandran [Syncfusion]
Replied On November 7, 2016 01:57 AM

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
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;