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

Free Support Forum - aspose.com

Aspose.words 21.10 - Preserve Text Order when Converting Word Document with Hebrew Text, Digits and Special characters to PDF using C# .NET

Hello,
I am using Aspose.words version 21.10 for converting word documents to PDF.
I’ve noticed that the text order in some words changes after converting from word to PDF.

The text continas some Hebrew letters, digits and special character.
For example:

Text in word:
Worddoc.PNG (927 Bytes)

Text after converting to PDF:
PDFConvetion.PNG (3.6 KB)

Note that the 95% has changed to %95 after converting to PDF.
I am attaching here a zip file that contains:
example.7z (32.9 KB)

the word document: word.docx
the PDF document that was not OK in version 21.10: pdf_bad.pdf

The code I use for converting word to PDF is:

Aspose.Words.Document wordDoc = new Aspose.Words.Document("mydoc.docx");
using (var pdfMemoryStream = new MemoryStream())
{

    var pdfSaveOptions = new asposeWordsSaving::PdfSaveOptions
    {
        JpegQuality = 100,
        TextCompression = asposeWordsSaving::PdfTextCompression.None,
        PageSet = asposeWordsSaving.PageSet.All,
    };
    pdfSaveOptions.OutlineOptions.DefaultBookmarksOutlineLevel = 9;
    pdfSaveOptions.MetafileRenderingOptions.RenderingMode =
        asposeWordsSaving::MetafileRenderingMode.Vector;
    wordDoc.Save(pdfMemoryStream, pdfSaveOptions);
}

Please provide a fix for this issue.
Thank You!

@edis.omer Thank you for reporting this problem to us. For a sake of correction it has been logged as WORDSNET-23912. We will keep you informed and let you know once it is resolved.