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!