Bug 696189

Summary: Adobe Distiller can't handle EPS files created with eps2write when single space character is used
Product: Ghostscript Reporter: Reiner Saalfrank <reiner.saalfrank>
Component: PS WriterAssignee: Ken Sharp <ken.sharp>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P4    
Version: 9.16   
Hardware: PC   
OS: Windows 7   
Customer: Word Size: ---
Attachments: PDF with 1 space character which is not embedded
EPS which cannot be distilled by Adobe Distiller
Tahoma TTFont used for substitution

Description Reiner Saalfrank 2015-09-10 00:46:38 UTC
Created attachment 11898 [details]
PDF with 1 space character which is not embedded

When the file Tahoma_1space.pdf is converted to EPS (eps2write), Adobe Distiller 10/11 is not able to distill the created EPS-File.

Distiller-Messages:
  %%[ Error: limitcheck; OffendingCommand: awidthshow ]%%
  Stack:
  0
  500
  0
  0
  500
  /x
  -mark-
  -dict-
  5
  %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
  %%[ Warning: PostScript error. No PDF file produced. ] %%


Example file Tahoma_1space.pdf uses just one space character which is not embedded.

We use a adapted Fontmap.GS file with enhanced substitution directives (gs_config).

Excerpt:
  /Tahoma	(tahoma.ttf)	;


The TT font tahoma.ttf is located in a separate directory (gs_myttf).



GS9.16 was called like:
  gs  -sDEVICE=eps2write  -I%gs_config%;%gs_lib%;%gs_fonts%;%gs_myttf% -sOutputFile=%04d.EPS Tahoma_1space.pdf


GS916 shows:
  GPL Ghostscript 9.16 (2015-03-30)
  Copyright (C) 2015 Artifex Software, Inc.  All rights reserved.
  This software comes with NO WARRANTY: see the file PUBLIC for details.
  Processing pages 1 through 1.
  Page 1
  Loading Tahoma font from z:\ProgramInstalled\gs\myttf\tahoma.ttf... 4298476 2583094 2675744 1225328 3 done.
Comment 1 Reiner Saalfrank 2015-09-10 00:47:55 UTC
Created attachment 11899 [details]
EPS which cannot be distilled by Adobe Distiller
Comment 2 Reiner Saalfrank 2015-09-10 00:48:52 UTC
Created attachment 11900 [details]
Tahoma TTFont used for substitution
Comment 3 Ken Sharp 2015-09-16 12:36:22 UTC
Running the file through Ghostscript works, and can be used to produce a PDF file which Acrobat will read.

I've checked the embedded font in the EPS and I can see nothing wrong with it (though some tables are admittedly larger than strictly necessary because of the way we su.bset TrueType fonts).

So this would seem to me to be an Adobe Acrobat Distiller bug or limitation and I suggest you report it to Adobe.