I get an ‘Index was outside the bounds of the array’ exception when saving as PDF.
So:
Document doc = new Document("my simple document.doc")
doc.Save("my simple document.pdf")
raises IndexOutOfRangeException
The simple document I used was created with Word 2003 and contained just a line line in a font that is not part of the standard install. No error occurs with common fonts such as Arial/Times etc, just mine which looks fine in a number of other applications / documents.
Hi
Thanks for your request. Please attach your Word document and Font here for testing. I will investigate the problem and provide you more information.
Also, please make sure you are using the latest version of Aspose.Words (6.4.0). To check version of the library, right click on the dll, select Properties from the context menu, then select Version tab. You will see File version.
Best regards.
Attached is the simple test document I used to identify my problem, hope it reveals something useful.
Thank you for additional information. Could you also attach your “Newtown” font? The problem can be caused because Aspose.Words cannot read this font properly.
Best regards.
Hi
Thank you for additional information. I managed to reproduce the problem on my side and created new issue #9205 in our defect database. I will notify you as soon as it is fixed.
Best regards.
The issues you have found earlier (filed as 9205) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.