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

Free Support Forum - aspose.com

Nonbreaking spaces gets converted to squares when saving as pdf

When saving the document as a PDF file some of the nonbreaking Spaces in the footer of the document gets converted to Squares.



Code

FileInfo outputFile = createOutputFile(WordFile); // Creates a filename with a pdf extension.

Document dok = new Document(WordFile.FullName);

dok.Save(outputFile.FullName, SaveFormat.Pdf);

return outputFile;





I was working with Aspose Word 14 and have tried to update to 15.1 with the same result.



I have tried to use Word and save as PDF and get a PDF file without Squares.



I have found a workaround in chancing the font of the footer, however this is not a useful solution, since we are working with a lot of existing documents.

Hi Henrik,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 15.1.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-11466. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-11466) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.