[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#411651: epstopdf: embedding all fonts (small patch)



Hi,

Hilmar wrote:
> Did you consider do use a2ping, the successor of epstopdf? It has an
> option "--gsextra=      extra arg to gs", which might do, what you
> want.

I didn't know a2ping, thanks for mentioning it. Its --gsextra options
probably should do what I need; at least if it ran properly, which it
didn't on the two machines I tried on. It produced an "ESP Ghostscript
815.03: Unrecoverable error, exit code 1", and although there was a PDF 
file afterwards, it had no fonts embedded. But that's another topic ...

Frank wrote:
> [Heiko] suggested exactly what has been implemented in a2ping, namely
> a generic "--pass-to-gs" option -- he said there are too many useful gs
> options to add to a tool one individual option for each. 

Of course he is right, but in order to use such a generic option one has
to know what to give to it. And because embedding fonts is something
that is probably often needed, and by users that are not gs experts, I
think an extra option is worthwhile. Of course, adding the necessary
--pass-to-gs options to the man page would do as well.

> He also mentioned that one can use an environment variable
> export GS_OPTIONS=-dEmbedAllFonts=true

I didn't know about GS_OPTIONS either, thanks for passing it on.
However, btw., from my experience, -dEmbedAllFonts=true is not enough, I
needed -dPDFSETTINGS=/printer as well.

> On the other hand, I rather think that embedding fonts should be the
> default.  Even in a2ping (plus, it should be documented; it's only in
> the changelog at the bottom of the manpage).

Yes, documenting --gsextra as well as how to use it to embed fonts would
be fine.

Regards,
Daniel


Attachment: pgprAWMTT1l6i.pgp
Description: PGP signature


Reply to: