Discussion:
GhostScript question: embedding all fonts in PDF
(too old to reply)
Wouter
2006-12-14 13:21:20 UTC
Permalink
I am trying to convert an EPS image to PDF. My publisher requires that
all used fonts are embedded, including the standard font Helvetica. I
tried to do this with

gs -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=out.pdf \
-c "<< /NeverEmbed [] >> setdistillerparams" -f in.eps

Sadly, that didn't work; Helvetica was not embedded. However, when I
changed "/NeverEmbed .standardfonts" to "/NeverEmbed []" in the
/default dictionary in the file
/usr/local/share/ghostscript/8.54/lib/gs_pdfwr.ps, Helvetica was
embedded. So why does the command line version not work? Is this a bug?
How can I get this to work without changing gs_pdfwr.ps or using
-dPDFSETTINGS=/printer or /prepress?

I am using GPL GhostScript 8.54 on Mac OS X 10.3.9.

Thanks in advance,

Wouter Bergmann Tiest
Jinsong Zhao
2006-12-15 01:29:37 UTC
Permalink
you can try this:

gs -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=letter
-dPDFSETTINGS=/printer -dCompatibilityLevel=1.3 -dMaxSubsetPct=100
-dSubsetFonts=true -dEmbedAllFonts=true -sOutputFile=output.pdf
input.ps

HIH,
Jinsong
Post by Wouter
I am trying to convert an EPS image to PDF. My publisher requires that
all used fonts are embedded, including the standard font Helvetica. I
tried to do this with
gs -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=out.pdf \
-c "<< /NeverEmbed [] >> setdistillerparams" -f in.eps
Sadly, that didn't work; Helvetica was not embedded. However, when I
changed "/NeverEmbed .standardfonts" to "/NeverEmbed []" in the
/default dictionary in the file
/usr/local/share/ghostscript/8.54/lib/gs_pdfwr.ps, Helvetica was
embedded. So why does the command line version not work? Is this a bug?
How can I get this to work without changing gs_pdfwr.ps or using
-dPDFSETTINGS=/printer or /prepress?
I am using GPL GhostScript 8.54 on Mac OS X 10.3.9.
Thanks in advance,
Wouter Bergmann Tiest
PGAGA
2006-12-15 18:50:50 UTC
Permalink
Friday, December 15, 2006
Post by Wouter
I am trying to convert an EPS image to PDF. My publisher requires that
all used fonts are embedded, including the standard font Helvetica. I
tried to do this with
I am not running a Mac but embed all fonts on OS/2 and WinXP using the
prepress or printer option. This is the setting which publishers in my
experience require.

-dPDFSETTINGS=/printer

or

-dPDFSETTINGS= /prepress

Phil

Loading...