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

Free Support Forum - aspose.com

Font and Height


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

public void test() throws Exception {
Document docx = new Document("/ArialHeading11.docx");
Iterator iterator = new 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?

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.