Bug 696189 - Adobe Distiller can't handle EPS files created with eps2write when single space character is used
Summary: Adobe Distiller can't handle EPS files created with eps2write when single spa...
Status: RESOLVED WONTFIX
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Writer (show other bugs)
Version: 9.16
Hardware: PC Windows 7
: P4 normal
Assignee: Ken Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-10 00:46 UTC by Reiner Saalfrank
Modified: 2015-09-16 12:36 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
PDF with 1 space character which is not embedded (5.47 KB, application/pdf)
2015-09-10 00:46 UTC, Reiner Saalfrank
Details
EPS which cannot be distilled by Adobe Distiller (108.02 KB, application/postscript)
2015-09-10 00:47 UTC, Reiner Saalfrank
Details
Tahoma TTFont used for substitution (374.16 KB, application/x-font-ttf)
2015-09-10 00:48 UTC, Reiner Saalfrank
Details

Note You need to log in before you can comment on or make changes to this bug.
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.