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

Free Support Forum - aspose.com

LINE_FEED_CHAR in font name


There is a LINE_FEED_CHAR in font name.Please can you check this out.



Document wordDoc = new Document(“newGlosario.doc”);

Run run = (Run) wordDoc.getChild(NodeType.RUN,4, true);

String name = run.getFont().getName();

char c = name.charAt(5);



Hi Zeljko,

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-13506. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Zeljko,

Thanks for your patience. It is to inform you that the issue which you are facing is actually not a bug in Aspose.Words. So, we have closed this issue (WORDSNET-13506) as 'Not a Bug'. In your document, the font name contains \n character.