Skip to main content
Participant
February 16, 2021
Answered

InDesign Server. Fonts on embeded EPS

  • February 16, 2021
  • 2 replies
  • 1062 views

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,

This topic has been closed for replies.
Correct answer Mike Witherell

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)

2 replies

Dov Isaacs
Legend
February 18, 2021

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)
Antoni.tAuthor
Participant
February 25, 2021

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
Antoni.tAuthor
Participant
March 18, 2021

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
Mike Witherell
Community Expert
Mike WitherellCommunity ExpertCorrect answer
Community Expert
February 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 just this one font? (Danger: wild guessing)

Mike Witherell