Thanks for the tip.<br>Is this a script? Should I call it from the command line?<br>Best,<br>Nicolas<br><br><div class="gmail_quote">On Fri, Sep 11, 2009 at 5:37 PM, Karl Berry <span dir="ltr"><<a href="mailto:karl@freefriends.org">karl@freefriends.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"> I had two possible solutions: to re-embed all fonts in the drawings,<br>
<br>
</div>This has nothing to with xetex, but anyway, every publisher I've dealt<br>
with insists on fully-embedded PDFs, which is reasonable. And I do it<br>
using Ghostscript:<br>
<br>
infile=<a href="http://foo.ps" target="_blank">foo.ps</a> # or .pdf<br>
outfile=foo.pdf<br>
gs \<br>
-q -dNOPAUSE -dBATCH \<br>
-dEmbedAllFonts -dPDFX=true \<br>
-sDEVICE=pdfwrite \<br>
-sOutputFile="$outfile" -c .setpdfwrite \<br>
-f "$infile" <a href="http://quit.ps" target="_blank">quit.ps</a><br>
<br>
FWIW ...<br>
<font color="#888888"><br>
karl<br>
</font></blockquote></div><br>