EPS in a graphic cell inherits overprint from preceding table content on PDF export
When a placed EPS sits in a graphic cell, the PDF export does not reset the overprint state before drawing the EPS. If anything earlier in the same table was drawn with overprint, the whole EPS is written with overprint on. That can be black text or 100% [Black] cell strokes, both of which overprint because "Overprint [Black] Swatch at 100%" is on by default. This happens even though the EPS itself sets "false setoverprint". White areas of the EPS then disappear in print and in Acrobat's overprint preview, and lines hidden behind them show through.
The same EPS as an anchored frame in a text cell, or in a normal frame, is exported correctly.
VERSION
InDesign 2025 (20.5.5.119), 2026 (21.6.0.57) and 2027 (22.0.0.104) on Windows 11 Pro.
- The result is identical in all three; the page content streams are byte-identical.
- macOS not tested.
STEPS TO REPRODUCE
(Or run the attached repro.jsx next to overprint-test.eps; it builds and exports all cases.)
1. Create a new document. Leave Preferences > Appearance of Black > "Overprint [Black] Swatch at 100%" on (default).
2. Insert a table with 1 row and 2 columns and remove all cell strokes.
3. Type some text in cell 1, colour [Black] 100%.
4. Convert cell 2 to a graphic cell and place overprint-test.eps. It draws two black diagonal lines with a white box over their crossing; the whole file sets "false setoverprint".
5. Export to PDF with [PDF/X-4:2008]. Any preset writes the same content; PDF/X only makes the problem visible in Acrobat by default.
6. Open the PDF in Acrobat. Overprint preview is on for PDF/X by default; otherwise use Output Preview > Simulate Overprinting. A JPEG export from InDesign with "Simulate Overprint" shows the same result.
EXPECTED RESULT
The white box hides the crossing lines (knockout), as the EPS specifies.
ACTUAL RESULT
The white box is written with overprint, so it is invisible and the crossing lines show through.
CASES (attached as INDD, IDML and PDF)
- A: cell 1 black text, cell 2 graphic cell with EPS -> overprint (wrong)
- A2: cell 1 empty, 1 pt 100% [Black] cell strokes, cell 2 graphic cell with EPS -> overprint (wrong)
- B: one text cell, black text plus the EPS as an anchored frame -> knockout (correct)
- C: same as A, but "Overprint [Black]" off -> knockout (correct)
These variants are also correct:
- graphic cell placed before the black text cell
- cell text in Magenta instead of [Black]
- black text in a separate frame
- placed PDF/AI files in graphic cells
PDF EVIDENCE
Case A (/GS0 = /OP true /op true):
BT 0 0 0 1 k /GS0 gs ... TJ ET
/PlacedGraphic /MC0 BDC EMC
0 0 0 1 K 4.4 w q ... S Q <- EPS lines, no gs reset
0 0 0 0 k 326 734.39 88 -55 re f <- white box still overprinting
Case B (/GS1 = /OP false /op false):
BT 0 0 0 1 k /GS0 gs ... TJ ET
/PlacedGraphic /MC0 BDC EMC
0 0 0 1 K 3.2 w /GS1 gs q ... S Q <- overprint reset before the EPS
0 0 0 0 k 92 738.766 64 -40 re f <- white box knocks out
In case A the export omits the graphics-state reset that it writes for every other container type.
IMPACT
Catalogue production with technical drawings (EPS) in graphic cells next to black article numbers in the same table: white areas of the drawings silently overprint. This is easy to miss on screen, because Acrobat simulates overprint by default only for PDF/X files.
WORKAROUNDS
- Use anchored frames instead of graphic cells.
- Use PDF/AI instead of EPS.
I could not uplaod the test eps. It is here: https://cloud.publishingx.de/s/zb3grjeEDJQLY8K
-
Gregor Fellenz
commented
the eps file