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

Free Support Forum - aspose.com

Comma separated number changed when DOCX is converted to PDF using .NET

Temp.zip (69.2 KB)
Sample.png (16.8 KB)

My document contains a comma separated number. When using Ms Word to convert this document to PDF every thing is fine, but Aspose converts all comma characters to dot!
I attached docx file, fonts and generated PDF files.
I use bellow code to convert document to pdf:

var document = new Aspose.Words.Document(sourceFilePath);
var saveOption = new Aspose.Words.Saving.PdfSaveOptions();
saveOption.NumeralFormat = Aspose.Words.Saving.NumeralFormat.Context;
saveOption.FontEmbeddingMode = Aspose.Words.Saving.PdfFontEmbeddingMode.EmbedNonstandard;

document.Save(resultFilePath, saveOption);


Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-17138. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-17138) have been fixed in this Aspose.Words for .NET 19.7 update and this Aspose.Words for Java 19.7 update.

A post was split to a new topic: Comma separated number changed when document is convert to pdf