// The path to the documents directory. String dataDir = Utils.getSharedDataDir(SaveOneNoteDocToStream.class) + "load/"; // Load the document into Aspose.Note. Document oneFile = new Document(Paths.get(dataDir, "missing-font.one").toString()); // Save the document as PDF dataDir = dataDir + "SaveUsingDocumentFontsSubsystemWithDefaultFontName_out.pdf"; PdfSaveOptions options = new PdfSaveOptions(); options.setFontsSubsystem(DocumentFontsSubsystem.usingDefaultFont("Times New Roman")); oneFile.save(dataDir, options);