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

Free Support Forum - aspose.com

Font and Height

Hi,


for text in attached document I get wrong font name and height. Here is test:
public class AsposeFont {

@Test
public void test() throws Exception {
Document docx = new Document("/ArialHeading11.docx");
Iterator iterator = new Iterator();
docx.accept(iterator);

}

public class Iterator extends DocumentVisitor {
public int visitRun(Run run) throws Exception {

System.out.println("Run Text: " + run.getText()
+ " **** Font Name: " + run.getFont().getName()
+ " **** Font Size: " + run.getFont().getSize());

return super.visitRun(run);
}
}

}

Can You help me with this?

Thanks
Best regards

Hi Djordje,

We were able to reproduce the issue and it has been logged into our issue tracking system as WORDSNET-12164. We will keep you updated on this issue in this thread.

Best Regards,

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


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