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

Free Support Forum - aspose.com

Incorrect processing of Excel file - textual data is mixed in result PDF

Hi,

We are using Aspose.Cells for .NET version 17.7 for conversion Excel files to PDF files and got an issue. We are making PDF files using following code:

using (var workBook = new Workbook(inputStream))
{
    workBook.Save(outputStream, SaveFormat.Pdf);
}

In resulting PDF file in some words letters are mixed.

Steps to reproduce:

Take XLSX file from attached ZIP.
Convert it to PDF file.
Open output PDF and try to Search for “IVAN” text.

Search does not work.

Copy text from the following fields to any text redactor, and check results (as shown at screenshot “Text.png” from attached ZIP)
Страхователь / Insurant:
Застрахованный / Insured:
Адрес / Permanent Adress:

Expected results:
ООО «Санкт-Петербургский Центр Разработок EMC»
IVANOV IVAN
RUSSIA

Actual results:
ОsuОranОt: «Санкт-Петербургский Центр Разработок EMC»
/V AINnsOuVr eIdV: AN
R:USSIA

Environment:
Windows 8.1
Microsoft office is not installed
Aspose.Cells for .NET 17.7

Thanks,
Roman

Files.zip (289.5 KB)

@cap.aspose,

Thanks for the template file, output PDF and screenshots.

Please try our latest fix/version: Aspose.Cells for .NET v17.10.3:

I have tested your scenario/case using your template file to convert to PDF with v17.10.3, it works fine. When I copy text from your mentioned fields to an editor, it pastes expected contents.

Please also make sure the Font “Arial Cyr” is installed on your machine or add it to font path that will be set to our API.

Let us know if you still have any issue.