Illustrator Fonts Package
Posted: Mon Nov 02, 2020 6:37 pm
So we have found an issue with Illustrator loading fonts from a package. It will only recognize the fonts from the package if Illustrator is closed and it opening the file fresh. A second package going through after Illustrator is open says it is missing fonts. I attempted to resolve the situation by scripting the saving of the PDF with the following:
I could not get that to work successfully because the quit was stopping the saveAs() command from running.
Just wondering if anyone else has experienced this or has a solution.
We are running Adobe CC 2020, SWITCH 2020 Spring and Windows Server 2019
Code: Select all
var dest = $outfolder + '/' + $filename + ".pdf";
var originalInteractionLevel = userInteractionLevel;
var saveName = new File(dest);
userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
pdfSaveOpts = new PDFSaveOptions();
pdfSaveOpts.compatibility = PDFCompatibility.ACROBAT5;
pdfSaveOpts.generateThumbnails = true;
pdfSaveOpts.preserveEditability = true;
try {
$doc.saveAs( saveName, pdfSaveOpts);
} catch (e) {
$error = e;
}
$outfiles = [dest];
app.quit()
Just wondering if anyone else has experienced this or has a solution.
We are running Adobe CC 2020, SWITCH 2020 Spring and Windows Server 2019