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]);