text: "use strict";
  class ConvertWordProcessingBySpecifyingFontSubstitution {
  	static async Run() {
  		
  		let settings = new conversion_cloud.ConvertSettings();
  		settings.filePath = "WordProcessing/with_tracked_changes.docx";
  		settings.format = "pdf";
  
  		let loadOptions = new conversion_cloud.WordProcessingLoadOptions();
  		loadOptions.autoFontSubstitution = false;
  		loadOptions.defaultFont = "Helvetica";		
  		loadOptions.fontSubstitutes = {};
  		loadOptions.fontSubstitutes["Tahoma"] = "Arial";
  		loadOptions.fontSubstitutes["Times New Roman"] = "Arial";
  
  		settings.loadOptions = loadOptions;
  		settings.outputPath = "converted";
  
  		let result = await convertApi.convertDocument(new conversion_cloud.ConvertDocumentRequest(settings));
  
  		console.log("Document converted: " + result[0].url);
  	}
  }
  module.exports = ConvertWordProcessingBySpecifyingFontSubstitution;
  