How to get correct font formating of revision Run node using Java

Hi can you help figure out how to get currect formating from run thats is revison ( font format revision)

Document wordDoc = new Document(“style.docx”);
Run run = (Run) wordDoc.getChild(NodeType.RUN, 2, true);
System.out.println(run.getText());
System.out.println("run font name = "+run.getFont().getName());

this prints “Calibri” but I expacting “Adobe Fan haiti…”
file:style.zip (10.0 KB)

Thank you for your help

@sarke

Please get the desired font name using following code example. Hope this helps you.

Document doc = new Document(MyDir + "style.docx");
RevisionCollection revisions = doc.getRevisions();

for(RevisionGroup e : (Iterable<RevisionGroup>)revisions.getGroups())
{
    System.out.println(e.getText());
}