Margins not carrying through when converting from rtf to pdf

When using aspose.words for java we are attempting to convert the attached rtf file to pdf. Everything seems to convert OK, except the margins are not carrying through.

Here is the code we are using:

License license = new License();
license.setLicense("/var/java/Aspose.Words.lic");
// Set Fonts
FontSettings.setFontsFolder("/var/java/fonts/", false);

// rtf doc
Document doc = new Document(args[0]);
doc.updateFields();
// pdf doc
doc.save(args[1]);

Hi
Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Best regards,