InDesign Server. Fonts on embeded EPS

New Here ,
Feb 16, 2021 Feb 16, 2021

Copy link to clipboard

Copied

Hi,

 

we experienced this issue few times with InDesign Server CC2019 and previous versions.

A InDesign document with an embeded EPS. The text of the InDesign uses the same fonts than the EPS.

We don't have the fonts installed but we copy them in the Documents Fonts with the InDesign document.

InDesign Server finds all fonts. myDocument.fonts[i].location shows all of them as loaded from Documents Fonts folder and myDocument.fonts[i].status as INSTALLED

It exports a pdf with the text of InDesign correct but the text of the EPS with Courier. It occurs with one of the fonts, no all of them.

If we copy the font file to the folder /Applications/Adobe InDesign CC Server 2019/Fonts, it produces the text of document and EPS embeded correct.

The font is AvenirLTStd-Light.otf

The same font will work correctly with many other documents.

 

It's any way to fix this without having to copy the fonts to the InDesign folder?

It's any way to detect this before export a PDF with Courier instead of the right font?

 

Thanks and regards,

- Antoni
TOPICS
Import and export, Scripting, SDK

Views

123

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , Feb 17, 2021 Feb 17, 2021
Sorry this is not a complete answer, but it should be noted that any and all EPS files cannot interact with InDesign because it is a sealed unit only meant to be print-interpreted. This leads to many problems, and an excellent policy should be to bar the use of EPS and/or convert EPS to .AI or .PDF for a better workflow. Another thought: when googling AvenirLTStd-Light.otf, we come across this: https://bugs.documentfoundation.org/show_bug.cgi?id=105298 And so maybe the problem is also with jus...

Likes

Translate

Translate
Adobe Community Professional ,
Feb 17, 2021 Feb 17, 2021

Copy link to clipboard

Copied

Sorry this is not a complete answer, but it should be noted that any and all EPS files cannot interact with InDesign because it is a sealed unit only meant to be print-interpreted. This leads to many problems, and an excellent policy should be to bar the use of EPS and/or convert EPS to .AI or .PDF for a better workflow.

 

Another thought: when googling AvenirLTStd-Light.otf, we come across this:

https://bugs.documentfoundation.org/show_bug.cgi?id=105298

And so maybe the problem is also with just this one font? (Danger: wild guessing)

Mike Witherell

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Feb 17, 2021 Feb 17, 2021

Copy link to clipboard

Copied

I'll second @Mike Witherell's response and expound on it.

 

Generally speaking, EPS should be considered a “legacy” file format. You would be much better served by converting EPS files to PDF with embedded fonts.

 

In terms of the problem you are encountering, it probably stems from the fact that your EPS file doesn't have its fonts embedded, but is accessing them only by reference. PostScript doesn't support OpenType CFF fonts, only Type 1 and Type 42 fonts. Thus whatever version of Avenir LT Std Light you are using in the EPS file, that will be considered a different font format than the OpenType CFF version of that font you are using in your InDesign document.

 

Thus, if you want to place EPS files in InDesign, make sure that such EPS files have whatever fonts they utilize embedded in the EPS files themselves.

 

- Dov Isaacs, former Adobe Principal Scientist (April 30, 1990 - May 30, 2021)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 25, 2021 Feb 25, 2021

Copy link to clipboard

Copied

Hi,

 

thanks for the information. I know that EPS is not the best solution, but we cannot change what we receive from externals. Some utils still only export EPS.

I made some investigation around identifying what element has the issue to produce a logfile for the user. It's possible to get details but requires to consider many options.

The easiest way that I have found is to use preflight. It provides page and issue. Changing the profile you can change what type of error to identify.

 

if (myDocument.preflightOptions.preflightOff) {
myDocument.preflightOptions.preflightOff=false;
}

var file = new File(profileFile);

var myProfile = app.loadPreflightProfile(File(file)); // Get the profile itself using the name derived above

var myPreflight = app.preflightProcesses.add(myDocument, myProfile); // Set the preflight var
myPreflight.waitForProcess(); // Don't process the results until it has finished running
var results = myPreflight.aggregatedResults[2]; // Store the results in a variable

if (results.length > 0) { // there is errors

//error manipulation

}

 

- Antoni

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 18, 2021 Mar 18, 2021

Copy link to clipboard

Copied

LATEST

Hi,

 

I have noticed that having this fonts at the folder Document Fonts next to the InDesign file gives problems, but copying them to /Fonts inside InDesign Server folder works fine. Same when the font is installed in the server. The fonts are not installed on the server, all comes with the document in the folder Document Fonts.

 

Totally agree about using EPS. There EPS come from plugins to generate formulas and jobs created in the past that is difficult to rebuild to reprint.

 

Regards,

- Antoni

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines