6 Replies Latest reply on Jul 18, 2016 7:59 AM by Mikie9 Branched from an earlier discussion.

    Problem with Embed All Fonts Setting

    soundarr18987053

      Anyone help me

       

      I have tried to set the embed all fonts setting  in pdfExportPresets but i didn't do it please help me.

      var myPDFExportPreset = app.pdfExportPresets.item("[Press Quality]");

        var myPDFWebPreset = app.pdfExportPresets.itemByName("[PDF/X-4:2008]");

       

      for(var myCounter = 0; myCounter < myDocument.pages.length; myCounter ++){

        myPageName = myDocument.pages.item(myCounter).name;

        app.pdfExportPreferences.pageRange = myPageName;

        var myRegExp = new RegExp(":","gi");

        myPageName = myPageName.replace(myRegExp, "_");

        myFilePath = myFolderName + "webpdf/" + myPageName + s_name + ".pdf";

        myFile = new File(myFilePath);

       

       

        myDocument.exportFile(ExportFormat.pdfType, myFile, myPDFExportPreset);

       

       

        myFilePath1 = myFolderName + "webtest/" + myPageName + s_name + ".pdf";

        myFile1 = new File(myFilePath1);

        

        myDocument.exportFile(ExportFormat.pdfType, myFile1, myPDFWebPreset);

        }